Class InfluxMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.influx.InfluxMetricsExportAutoConfiguration
@AutoConfiguration(before={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class},
after=MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(io.micrometer.influx.InfluxMeterRegistry.class)
@ConditionalOnEnabledMetricsExport("influx")
@EnableConfigurationProperties(InfluxProperties.class)
public class InfluxMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to Influx.- Since:
- 2.0.0
- Author:
- Jon Schneider, Artsiom Yudovin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.influx.InfluxConfig
io.micrometer.influx.InfluxMeterRegistry
influxMeterRegistry
(io.micrometer.influx.InfluxConfig influxConfig, io.micrometer.core.instrument.Clock clock, InfluxProperties influxProperties)
-
Constructor Details
-
InfluxMetricsExportAutoConfiguration
-
-
Method Details
-
influxConfig
-
influxMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.influx.InfluxMeterRegistry influxMeterRegistry(io.micrometer.influx.InfluxConfig influxConfig, io.micrometer.core.instrument.Clock clock, InfluxProperties influxProperties)
-