From b6ca1eadeb6bbd978c10be07f1b4cb1769f74e73 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 17 Jul 2019 14:28:12 +0200 Subject: [PATCH] Fix prefix for datasource metrics Closes gh-17553 --- .../src/main/asciidoc/production-ready-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 6e0e274d6cf..0131c67c7d3 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -2004,9 +2004,9 @@ is required. A `CacheMetricsRegistrar` bean is made available to make that proce [[production-ready-metrics-jdbc]] ==== DataSource Metrics Auto-configuration enables the instrumentation of all available `DataSource` objects with -a metric named `jdbc`. Data source instrumentation results in gauges representing the -currently active, maximum allowed, and minimum allowed connections in the pool. Each of -these gauges has a name that is prefixed by `jdbc`. +metrics prefixed with `jdbc.connections`. Data source instrumentation results in gauges +representing the currently active, maximum allowed, and minimum allowed connections in the +pool. Metrics are also tagged by the name of the `DataSource` computed based on the bean name.