From 7828f2a5d38d0fe7380868c987b972a923856e29 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Sat, 13 Sep 2014 11:00:55 -0500 Subject: [PATCH] Update docs on metrics names --- .../src/main/asciidoc/production-ready-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 8f11a159d15..8772c345a06 100644 --- a/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -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