Update docs on metrics names

This commit is contained in:
Dave Syer 2014-09-13 11:00:55 -05:00
parent deef784403
commit 7828f2a5d3

View File

@ -591,9 +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.200.star-star": 5,
"counter.status.401.root": 4,
"gauge.response.**": 6,
"gauge.response.star-star": 6,
"gauge.response.root": 2,
"gauge.response.metrics": 3,
"classes": 5808,
@ -616,7 +616,7 @@ 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. The double asterix (`**`)
that the `root` URL returned `HTTP 401` (unauthorized) `4` times. The double asterix (`star-star`)
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