@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=io.micrometer.core.annotation.Timed.class) @ConditionalOnAvailableEndpoint(endpoint=MetricsEndpoint.class) @AutoConfigureAfter(value={MetricsAutoConfiguration.class,MeterRegistryAutoConfiguration.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)