@Configuration @ConditionalOnClass(value=io.micrometer.core.annotation.Timed.class) @ConditionalOnEnabledEndpoint(endpoint=MetricsEndpoint.class) @ConditionalOnExposedEndpoint(endpoint=MetricsEndpoint.class) @AutoConfigureAfter(value={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.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)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.