Class InfluxMetricsExportAutoConfiguration
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.export.influx.InfluxMetricsExportAutoConfiguration
-
@Configuration @ConditionalOnBean(io.micrometer.core.instrument.Clock.class) @ConditionalOnClass(io.micrometer.influx.InfluxMeterRegistry.class) @ConditionalOnProperty(prefix="management.metrics.export.influx", name="enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties(InfluxProperties.class) @Import(StringToDurationConverter.class) public class InfluxMetricsExportAutoConfiguration extends java.lang.Object
Configuration for exporting metrics to Influx.
-
-
Constructor Summary
Constructors Constructor Description InfluxMetricsExportAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.influx.InfluxConfig
influxConfig(InfluxProperties props)
io.micrometer.influx.InfluxMeterRegistry
influxMeterRegistry(io.micrometer.influx.InfluxConfig config, io.micrometer.core.instrument.Clock clock)
-
-
-
Method Detail
-
influxConfig
@Bean @ConditionalOnMissingBean(io.micrometer.influx.InfluxConfig.class) public io.micrometer.influx.InfluxConfig influxConfig(InfluxProperties props)
-
influxMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.influx.InfluxMeterRegistry influxMeterRegistry(io.micrometer.influx.InfluxConfig config, io.micrometer.core.instrument.Clock clock)
-
-