Skip to content

Commit 7828f2a

Browse files
author
Dave Syer
committed
Update docs on metrics names
1 parent deef784 commit 7828f2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,9 @@ decrement). Metrics for all HTTP requests are automatically recorded, so if you
591591
{
592592
"counter.status.200.root": 20,
593593
"counter.status.200.metrics": 3,
594-
"counter.status.200.**": 5,
594+
"counter.status.200.star-star": 5,
595595
"counter.status.401.root": 4,
596-
"gauge.response.**": 6,
596+
"gauge.response.star-star": 6,
597597
"gauge.response.root": 2,
598598
"gauge.response.metrics": 3,
599599
"classes": 5808,
@@ -616,7 +616,7 @@ decrement). Metrics for all HTTP requests are automatically recorded, so if you
616616
Here we can see basic `memory`, `heap`, `class loading`, `processor` and `thread pool`
617617
information along with some HTTP metrics. In this instance the `root` (``/'') and `/metrics`
618618
URLs have returned `HTTP 200` responses `20` and `3` times respectively. It also appears
619-
that the `root` URL returned `HTTP 401` (unauthorized) `4` times. The double asterix (`**`)
619+
that the `root` URL returned `HTTP 401` (unauthorized) `4` times. The double asterix (`star-star`)
620620
comes from a request matched by Spring MVC as `/**` (normally a static resource).
621621

622622
The `gauge` shows the last response time for a request. So the last request to `root` took

0 commit comments

Comments
 (0)