@Configuration(proxyBeanMethods=false)
@AutoConfigureBefore(value={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class})
@AutoConfigureAfter(value=MetricsAutoConfiguration.class)
@ConditionalOnBean(value=io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(value={io.micrometer.wavefront.WavefrontMeterRegistry.class,com.wavefront.sdk.common.WavefrontSender.class})
@ConditionalOnProperty(prefix="management.metrics.export.wavefront",
name="enabled",
havingValue="true",
matchIfMissing=true)
@EnableConfigurationProperties(value=WavefrontProperties.class)
public class WavefrontMetricsExportAutoConfiguration
extends java.lang.Object
Auto-configuration for exporting metrics to Wavefront.| Constructor and Description |
|---|
WavefrontMetricsExportAutoConfiguration(WavefrontProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
io.micrometer.wavefront.WavefrontConfig |
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) |
public WavefrontMetricsExportAutoConfiguration(WavefrontProperties properties)
@Bean @ConditionalOnMissingBean public io.micrometer.wavefront.WavefrontConfig wavefrontConfig()
@Bean @ConditionalOnMissingBean public com.wavefront.sdk.common.WavefrontSender wavefrontSender(io.micrometer.wavefront.WavefrontConfig wavefrontConfig)
@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)