@Configuration @AutoConfigureBefore(value={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class}) @AutoConfigureAfter(value=MetricsAutoConfiguration.class) @ConditionalOnBean(value=io.micrometer.core.instrument.Clock.class) @ConditionalOnClass(value=io.micrometer.kairos.KairosMeterRegistry.class) @ConditionalOnProperty(prefix="management.metrics.export.kairos", name="enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties(value=KairosProperties.class) public class KairosMetricsExportAutoConfiguration extends Object
Auto-configuration
for exporting metrics to KairosDB.Constructor and Description |
---|
KairosMetricsExportAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.kairos.KairosConfig |
kairosConfig(KairosProperties kairosProperties) |
io.micrometer.kairos.KairosMeterRegistry |
kairosMeterRegistry(io.micrometer.kairos.KairosConfig kairosConfig,
io.micrometer.core.instrument.Clock clock) |
public KairosMetricsExportAutoConfiguration()
@Bean @ConditionalOnMissingBean public io.micrometer.kairos.KairosConfig kairosConfig(KairosProperties kairosProperties)
@Bean @ConditionalOnMissingBean public io.micrometer.kairos.KairosMeterRegistry kairosMeterRegistry(io.micrometer.kairos.KairosConfig kairosConfig, io.micrometer.core.instrument.Clock clock)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.