Class DataSourcePoolMetricsBinder

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

public class DataSourcePoolMetricsBinder extends Object implements io.micrometer.core.instrument.binder.MeterBinder
A MeterBinder for a DataSource.
Since:
1.0.0
Author:
Jon Schneider, Phillip Webb, Christian Oestreich
  • Method Details

    • bindTo

      public void bindTo(@NonNull @NonNull io.micrometer.core.instrument.MeterRegistry meterRegistry)
      Binds the pool metrics.
      Specified by:
      bindTo in interface io.micrometer.core.instrument.binder.MeterBinder
      Parameters:
      meterRegistry - the meter registry