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 Summary
ConstructorDescriptionR2dbcPoolMetricsBinder
(io.r2dbc.pool.PoolMetrics metrics, String dataSourceName, Iterable<io.micrometer.core.instrument.Tag> tags) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTo
(@NonNull io.micrometer.core.instrument.MeterRegistry registry)
-
Constructor Details
-
R2dbcPoolMetricsBinder
-
-
Method Details
-
bindTo
public void bindTo(@NonNull @NonNull io.micrometer.core.instrument.MeterRegistry registry) - Specified by:
bindTo
in interfaceio.micrometer.core.instrument.binder.MeterBinder
-