@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.ganglia.GangliaMeterRegistry.class) @ConditionalOnEnabledMetricsExport(value="ganglia") @EnableConfigurationProperties(value=GangliaProperties.class) public class GangliaMetricsExportAutoConfiguration extends Object
Auto-configuration
for exporting metrics to Ganglia.Constructor and Description |
---|
GangliaMetricsExportAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.ganglia.GangliaConfig |
gangliaConfig(GangliaProperties gangliaProperties) |
io.micrometer.ganglia.GangliaMeterRegistry |
gangliaMeterRegistry(io.micrometer.ganglia.GangliaConfig gangliaConfig,
io.micrometer.core.instrument.Clock clock) |
public GangliaMetricsExportAutoConfiguration()
@Bean @ConditionalOnMissingBean public io.micrometer.ganglia.GangliaConfig gangliaConfig(GangliaProperties gangliaProperties)
@Bean @ConditionalOnMissingBean public io.micrometer.ganglia.GangliaMeterRegistry gangliaMeterRegistry(io.micrometer.ganglia.GangliaConfig gangliaConfig, io.micrometer.core.instrument.Clock clock)