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 Summary
Modifier and TypeMethodDescriptionvoid
bindTo
(@NonNull io.micrometer.core.instrument.MeterRegistry meterRegistry) Binds the pool metrics.
-
Method Details
-
bindTo
public void bindTo(@NonNull @NonNull io.micrometer.core.instrument.MeterRegistry meterRegistry) Binds the pool metrics.- Specified by:
bindTo
in interfaceio.micrometer.core.instrument.binder.MeterBinder
- Parameters:
meterRegistry
- the meter registry
-