Class ConnectionPoolMetrics

java.lang.Object
org.springframework.boot.actuate.metrics.r2dbc.ConnectionPoolMetrics
All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder

public class ConnectionPoolMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
A MeterBinder for a ConnectionPool.
Since:
2.3.0
Author:
Tadaya Tsuyukubo, Stephane Nicoll
  • Constructor Details

    • ConnectionPoolMetrics

      public ConnectionPoolMetrics(io.r2dbc.pool.ConnectionPool pool, String name, Iterable<io.micrometer.core.instrument.Tag> tags)
  • Method Details

    • bindTo

      public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
      Specified by:
      bindTo in interface io.micrometer.core.instrument.binder.MeterBinder