Class ElasticMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.elastic.ElasticMetricsExportAutoConfiguration
@AutoConfiguration(before={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class},
after=MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(io.micrometer.elastic.ElasticMeterRegistry.class)
@ConditionalOnEnabledMetricsExport("elastic")
@EnableConfigurationProperties(ElasticProperties.class)
public class ElasticMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to Elastic.- Since:
- 2.1.0
- Author:
- Andy Wilkinson, Artsiom Yudovin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.elastic.ElasticConfig
io.micrometer.elastic.ElasticMeterRegistry
elasticMeterRegistry
(io.micrometer.elastic.ElasticConfig elasticConfig, io.micrometer.core.instrument.Clock clock)
-
Constructor Details
-
ElasticMetricsExportAutoConfiguration
-
-
Method Details
-
elasticConfig
-
elasticMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.elastic.ElasticMeterRegistry elasticMeterRegistry(io.micrometer.elastic.ElasticConfig elasticConfig, io.micrometer.core.instrument.Clock clock)
-