mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Refer explicitly to double asterix in metrics docs
Fixes gh-1358
This commit is contained in:
parent
0a3a00e9e5
commit
481cf775d8
@ -591,7 +591,9 @@ decrement). Metrics for all HTTP requests are automatically recorded, so if you
|
||||
{
|
||||
"counter.status.200.root": 20,
|
||||
"counter.status.200.metrics": 3,
|
||||
"counter.status.200.**": 5,
|
||||
"counter.status.401.root": 4,
|
||||
"gauge.response.**": 6,
|
||||
"gauge.response.root": 2,
|
||||
"gauge.response.metrics": 3,
|
||||
"classes": 5808,
|
||||
@ -614,7 +616,8 @@ decrement). Metrics for all HTTP requests are automatically recorded, so if you
|
||||
Here we can see basic `memory`, `heap`, `class loading`, `processor` and `thread pool`
|
||||
information along with some HTTP metrics. In this instance the `root` (``/'') and `/metrics`
|
||||
URLs have returned `HTTP 200` responses `20` and `3` times respectively. It also appears
|
||||
that the `root` URL returned `HTTP 401` (unauthorized) `4` times.
|
||||
that the `root` URL returned `HTTP 401` (unauthorized) `4` times. The double asterix (`**`)
|
||||
comes from a request matched by Spring MVC as `/**` (normally a static resource).
|
||||
|
||||
The `gauge` shows the last response time for a request. So the last request to `root` took
|
||||
`2ms` to respond and the last to `/metrics` took `3ms`.
|
||||
|
Loading…
Reference in New Issue
Block a user