Class WavefrontMetricsExportAutoConfiguration
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.export.wavefront.WavefrontMetricsExportAutoConfiguration
-
@Configuration @ConditionalOnBean(io.micrometer.core.instrument.Clock.class) @ConditionalOnClass(io.micrometer.wavefront.WavefrontMeterRegistry.class) @ConditionalOnProperty(prefix="management.metrics.export.wavefront", name="enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties(WavefrontProperties.class) @Import(StringToDurationConverter.class) public class WavefrontMetricsExportAutoConfiguration extends java.lang.Object
Auto-configuration for Wavefront.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description WavefrontMetricsExportAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.core.instrument.Clock
micrometerClock()
io.micrometer.wavefront.WavefrontConfig
wavefrontConfig(WavefrontProperties props)
io.micrometer.wavefront.WavefrontMeterRegistry
wavefrontMeterRegistry(io.micrometer.wavefront.WavefrontConfig config, io.micrometer.core.instrument.Clock clock)
-
-
-
Method Detail
-
wavefrontConfig
@Bean @ConditionalOnMissingBean(io.micrometer.wavefront.WavefrontConfig.class) public io.micrometer.wavefront.WavefrontConfig wavefrontConfig(WavefrontProperties props)
-
wavefrontMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.wavefront.WavefrontMeterRegistry wavefrontMeterRegistry(io.micrometer.wavefront.WavefrontConfig config, io.micrometer.core.instrument.Clock clock)
-
micrometerClock
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.Clock micrometerClock()
-
-