Class GangliaMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.ganglia.GangliaMetricsExportAutoConfiguration
@AutoConfiguration(before={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class},
after=MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(io.micrometer.ganglia.GangliaMeterRegistry.class)
@ConditionalOnEnabledMetricsExport("ganglia")
@EnableConfigurationProperties(GangliaProperties.class)
public class GangliaMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to Ganglia.- Since:
- 2.0.0
- Author:
- Jon Schneider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.ganglia.GangliaConfig
gangliaConfig
(GangliaProperties gangliaProperties) io.micrometer.ganglia.GangliaMeterRegistry
gangliaMeterRegistry
(io.micrometer.ganglia.GangliaConfig gangliaConfig, io.micrometer.core.instrument.Clock clock)
-
Constructor Details
-
GangliaMetricsExportAutoConfiguration
public GangliaMetricsExportAutoConfiguration()
-
-
Method Details
-
gangliaConfig
@Bean @ConditionalOnMissingBean public io.micrometer.ganglia.GangliaConfig gangliaConfig(GangliaProperties gangliaProperties) -
gangliaMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.ganglia.GangliaMeterRegistry gangliaMeterRegistry(io.micrometer.ganglia.GangliaConfig gangliaConfig, io.micrometer.core.instrument.Clock clock)
-