Class MetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration
@AutoConfiguration(before=CompositeMeterRegistryAutoConfiguration.class)
@ConditionalOnClass(io.micrometer.core.annotation.Timed.class)
@EnableConfigurationProperties(MetricsProperties.class)
public class MetricsAutoConfiguration
extends Object
Auto-configuration
for Micrometer-based metrics.- Since:
- 2.0.0
- Author:
- Jon Schneider, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryPostProcessor
meterRegistryPostProcessor
(ObjectProvider<io.micrometer.core.instrument.binder.MeterBinder> meterBinders, ObjectProvider<io.micrometer.core.instrument.config.MeterFilter> meterFilters, ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers, ObjectProvider<MetricsProperties> metricsProperties, ApplicationContext applicationContext) io.micrometer.core.instrument.Clock
propertiesMeterFilter
(MetricsProperties properties)
-
Constructor Details
-
MetricsAutoConfiguration
public MetricsAutoConfiguration()
-
-
Method Details
-
micrometerClock
-
meterRegistryPostProcessor
@Bean public static org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryPostProcessor meterRegistryPostProcessor(ObjectProvider<io.micrometer.core.instrument.binder.MeterBinder> meterBinders, ObjectProvider<io.micrometer.core.instrument.config.MeterFilter> meterFilters, ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers, ObjectProvider<MetricsProperties> metricsProperties, ApplicationContext applicationContext) -
propertiesMeterFilter
-