@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class}) @ConditionalOnClass(value=io.micrometer.core.annotation.Timed.class) @ConditionalOnAvailableEndpoint(endpoint=MetricsEndpoint.class) public class MetricsEndpointAutoConfiguration extends Object
Constructor and Description |
---|
MetricsEndpointAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
MetricsEndpoint |
metricsEndpoint(io.micrometer.core.instrument.MeterRegistry registry) |
@Bean @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnMissingBean public MetricsEndpoint metricsEndpoint(io.micrometer.core.instrument.MeterRegistry registry)