Class MetricsEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.MetricsEndpointAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(io.micrometer.core.annotation.Timed.class)
@ConditionalOnAvailableEndpoint(endpoint=MetricsEndpoint.class)
@AutoConfigureAfter({MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
public class MetricsEndpointAutoConfiguration
extends Object
- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmetricsEndpoint
(io.micrometer.core.instrument.MeterRegistry registry)
-
Constructor Details
-
MetricsEndpointAutoConfiguration
public MetricsEndpointAutoConfiguration()
-
-
Method Details
-
metricsEndpoint
@Bean @ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnMissingBean public MetricsEndpoint metricsEndpoint(io.micrometer.core.instrument.MeterRegistry registry)
-