Class MetricsEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.MetricsEndpointAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class})
@ConditionalOnClass(io.micrometer.core.annotation.Timed.class)
@ConditionalOnAvailableEndpoint(MetricsEndpoint.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)
-