Add missing documentation

See gh-12129
pull/12129/merge
Stephane Nicoll 7 years ago
parent d5295912e0
commit 0a795b005e

@ -1563,13 +1563,15 @@ 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
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 are also tagged by the name of the `DataSource` computed based on the bean name.
Also, Hikari-specific metrics are exposed with a `hikaricp` prefix. Each metric is tagged
by the name of the Pool (can be controlled with `spring.datasource.name`).
[[production-ready-metrics-rabbitmq]]

Loading…
Cancel
Save