Package io.micronaut.microstream.metrics
Class MicroStreamMetricsBinder
java.lang.Object
io.micronaut.microstream.metrics.MicroStreamMetricsBinder
- All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder
@Singleton
@RequiresMetrics
@Requires(property="micronaut.metrics.binders.microstream.enabled",value="true",defaultValue="true") @Requires(classes=io.micrometer.core.instrument.binder.MeterBinder.class)
public class MicroStreamMetricsBinder
extends Object
implements io.micrometer.core.instrument.binder.MeterBinder
A Micronaut
MeterBinder
for MicroStream integration.- Since:
- 1.0.0
- Author:
- Tim Yates
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindTo
(@NonNull io.micrometer.core.instrument.MeterRegistry registry)
-
Field Details
-
MICROSTREAM_METRIC_PREFIX
- See Also:
-
-
Constructor Details
-
MicroStreamMetricsBinder
public MicroStreamMetricsBinder(io.micronaut.context.BeanContext beanContext) - Parameters:
beanContext
- Bean Context
-
-
Method Details
-
bindTo
public void bindTo(@NonNull @NonNull io.micrometer.core.instrument.MeterRegistry registry) - Specified by:
bindTo
in interfaceio.micrometer.core.instrument.binder.MeterBinder
-