Class R2dbcPoolMetricsBinder

java.lang.Object
io.micronaut.configuration.metrics.binder.r2dbc.R2dbcPoolMetricsBinder
All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder

public class R2dbcPoolMetricsBinder extends Object implements io.micrometer.core.instrument.binder.MeterBinder
A MeterBinder for PoolMetrics.
Since:
4.2.1
Author:
Leonardo Schick, Caroline Medeiros
  • Constructor Details

    • R2dbcPoolMetricsBinder

      public R2dbcPoolMetricsBinder(io.r2dbc.pool.PoolMetrics metrics, String dataSourceName, Iterable<io.micrometer.core.instrument.Tag> tags)
  • Method Details

    • bindTo

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