Class MeterRegistryFactory
- java.lang.Object
-
- io.streamthoughts.azkarra.api.components.BaseComponentModule
-
- io.streamthoughts.azkarra.metrics.micrometer.MeterRegistryFactory
-
- All Implemented Interfaces:
ComponentFactoryAware
,ConfigurableComponentFactory
,Configurable
@Factory public class MeterRegistryFactory extends BaseComponentModule
The default factory to build the primaryMeterRegistry
.
-
-
Constructor Summary
Constructors Constructor Description MeterRegistryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.core.instrument.composite.CompositeMeterRegistry
compositeMeterRegistry()
MeterRegistryConfigurer
meterRegistryConfigurer()
io.micrometer.prometheus.PrometheusMeterRegistry
prometheusRegistry()
-
Methods inherited from class io.streamthoughts.azkarra.api.components.BaseComponentModule
configure, getComponentFactory, getConfiguration, setComponentFactory
-
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.api.components.ConfigurableComponentFactory
getAllComponents, getAllComponents, getAllComponents, getAllComponents, getComponent, getComponent, getComponent, getComponent
-
-
-
-
Method Detail
-
compositeMeterRegistry
@Eager @Primary @Singleton @Component @ConditionalOnMetricsEnable @Named("AzkarraCompositeMeterRegistry") public io.micrometer.core.instrument.composite.CompositeMeterRegistry compositeMeterRegistry()
-
meterRegistryConfigurer
@Primary @Singleton @Component @ConditionalOnMetricsEnable public MeterRegistryConfigurer meterRegistryConfigurer()
-
prometheusRegistry
@Singleton @Component @ConditionalOnMetricsEnable @ConditionalOn(missingComponents=io.micrometer.prometheus.PrometheusMeterRegistry.class) public io.micrometer.prometheus.PrometheusMeterRegistry prometheusRegistry()
-
-