Class WavefrontMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.wavefront.WavefrontMetricsExportAutoConfiguration
@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore({CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class})
@AutoConfigureAfter(MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass({io.micrometer.wavefront.WavefrontMeterRegistry.class,com.wavefront.sdk.common.WavefrontSender.class})
@ConditionalOnEnabledMetricsExport("wavefront")
@EnableConfigurationProperties(WavefrontProperties.class)
public class WavefrontMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to Wavefront.- Since:
- 2.0.0
- Author:
- Jon Schneider, Artsiom Yudovin, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.wavefront.WavefrontConfig
io.micrometer.wavefront.WavefrontMeterRegistry
wavefrontMeterRegistry
(io.micrometer.wavefront.WavefrontConfig wavefrontConfig, io.micrometer.core.instrument.Clock clock, com.wavefront.sdk.common.WavefrontSender wavefrontSender) com.wavefront.sdk.common.WavefrontSender
wavefrontSender
(io.micrometer.wavefront.WavefrontConfig wavefrontConfig)
-
Constructor Details
-
WavefrontMetricsExportAutoConfiguration
-
-
Method Details
-
wavefrontConfig
-
wavefrontSender
@Bean @ConditionalOnMissingBean public com.wavefront.sdk.common.WavefrontSender wavefrontSender(io.micrometer.wavefront.WavefrontConfig wavefrontConfig) -
wavefrontMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.wavefront.WavefrontMeterRegistry wavefrontMeterRegistry(io.micrometer.wavefront.WavefrontConfig wavefrontConfig, io.micrometer.core.instrument.Clock clock, com.wavefront.sdk.common.WavefrontSender wavefrontSender)
-