public class DataSourcePoolMetricsBinder
extends java.lang.Object
implements io.micrometer.core.instrument.binder.MeterBinder
MeterBinder
for a DataSource
.Modifier and Type | Method and Description |
---|---|
void |
bindTo(@NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry)
Method for getting metadataProvider object for datasource that will bind the pool metrics.
|
public void bindTo(@NotNull @NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry)
bindTo
in interface io.micrometer.core.instrument.binder.MeterBinder
meterRegistry
- the meter registry object