Class 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 Detail

      • WavefrontMetricsExportAutoConfiguration

        public WavefrontMetricsExportAutoConfiguration()
    • 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()