@Configuration @ConditionalOnClass(value=io.micrometer.core.annotation.Timed.class) @EnableConfigurationProperties(value=MetricsProperties.class) @AutoConfigureBefore(value=CompositeMeterRegistryAutoConfiguration.class) public class MetricsAutoConfiguration extends Object
Auto-configuration
for Micrometer-based metrics.Constructor and Description |
---|
MetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryPostProcessor |
meterRegistryPostProcessor(ApplicationContext context) |
io.micrometer.core.instrument.Clock |
micrometerClock() |
PropertiesMeterFilter |
propertiesMeterFilter(MetricsProperties properties) |
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.Clock micrometerClock()
@Bean public static org.springframework.boot.actuate.autoconfigure.metrics.MeterRegistryPostProcessor meterRegistryPostProcessor(ApplicationContext context)
@Bean @Order(value=0) public PropertiesMeterFilter propertiesMeterFilter(MetricsProperties properties)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.