Polish "Add metrics support for idle jdbc connections"

See gh-17504
This commit is contained in:
Stephane Nicoll
2019-07-17 14:12:26 +02:00
parent 9acc02b5cc
commit 56ce2b8e3f
10 changed files with 27 additions and 60 deletions

View File

@@ -2023,8 +2023,8 @@ is required. A `CacheMetricsRegistrar` bean is made available to make that proce
==== 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`.
currently active, idle, maximum allowed, and minimum allowed connections in the pool. Each
of these gauges has a name that is prefixed by `jdbc`.
Metrics are also tagged by the name of the `DataSource` computed based on the bean name.