Merge branch '2.1.x'

Closes gh-17554
This commit is contained in:
Stephane Nicoll
2019-07-17 14:29:16 +02:00

View File

@@ -2022,9 +2022,9 @@ is required. A `CacheMetricsRegistrar` bean is made available to make that proce
[[production-ready-metrics-jdbc]] [[production-ready-metrics-jdbc]]
==== DataSource Metrics ==== DataSource Metrics
Auto-configuration enables the instrumentation of all available `DataSource` objects with Auto-configuration enables the instrumentation of all available `DataSource` objects with
a metric named `jdbc`. Data source instrumentation results in gauges representing the metrics prefixed with `jdbc.connections`. Data source instrumentation results in gauges
currently active, idle, maximum allowed, and minimum allowed connections in the pool. Each representing the currently active, idle, maximum allowed, and minimum allowed connections
of these gauges has a name that is prefixed by `jdbc`. in the pool.
Metrics are also tagged by the name of the `DataSource` computed based on the bean name. Metrics are also tagged by the name of the `DataSource` computed based on the bean name.