Class MicrometerMeterRegistryConfigurer
- java.lang.Object
-
- io.streamthoughts.azkarra.metrics.micrometer.MicrometerMeterRegistryConfigurer
-
- All Implemented Interfaces:
MeterRegistryConfigurer<io.micrometer.core.instrument.MeterRegistry>
public class MicrometerMeterRegistryConfigurer extends Object implements MeterRegistryConfigurer<io.micrometer.core.instrument.MeterRegistry>
The defaultMeterRegistryConfigurer
implementation to register a collection ofMeterBinder
andMeterFilter
on anyMeterRegistry
.
-
-
Constructor Summary
Constructors Constructor Description MicrometerMeterRegistryConfigurer(Collection<io.micrometer.core.instrument.binder.MeterBinder> binders, Collection<io.micrometer.core.instrument.config.MeterFilter> filters)
Creates a newMicrometerMeterRegistryConfigurer
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(io.micrometer.core.instrument.MeterRegistry meterRegistry)
Applies this configurer to the given meter registry.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.metrics.micrometer.MeterRegistryConfigurer
supports
-
-
-
-
Constructor Detail
-
MicrometerMeterRegistryConfigurer
public MicrometerMeterRegistryConfigurer(Collection<io.micrometer.core.instrument.binder.MeterBinder> binders, Collection<io.micrometer.core.instrument.config.MeterFilter> filters)
Creates a newMicrometerMeterRegistryConfigurer
instance.- Parameters:
binders
- the list ofMeterBinder
.filters
- the list ofMeterFilter
.
-
-
Method Detail
-
apply
public void apply(io.micrometer.core.instrument.MeterRegistry meterRegistry)
Applies this configurer to the given meter registry.- Specified by:
apply
in interfaceMeterRegistryConfigurer<io.micrometer.core.instrument.MeterRegistry>
- Parameters:
meterRegistry
- theMeterRegistry
to bind metrics to.
-
-