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
(ApplicationContext applicationContext, ObjectProvider<MetricsProperties> metricsProperties, ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers, ObjectProvider<io.micrometer.core.instrument.config.MeterFilter> meterFilters, ObjectProvider<io.micrometer.core.instrument.binder.MeterBinder> meterBinders) 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(ApplicationContext applicationContext, ObjectProvider<MetricsProperties> metricsProperties, ObjectProvider<MeterRegistryCustomizer<?>> meterRegistryCustomizers, ObjectProvider<io.micrometer.core.instrument.config.MeterFilter> meterFilters, ObjectProvider<io.micrometer.core.instrument.binder.MeterBinder> meterBinders) -
propertiesMeterFilter
-