@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication @ConditionalOnClass(value={io.micrometer.core.instrument.binder.tomcat.TomcatMetrics.class,org.apache.catalina.Manager.class}) @AutoConfigureAfter(value=CompositeMeterRegistryAutoConfiguration.class) public class TomcatMetricsAutoConfiguration extends Object
Auto-configuration
for TomcatMetrics
.Constructor and Description |
---|
TomcatMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
TomcatMetricsBinder |
tomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry) |
@Bean @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnMissingBean(value={io.micrometer.core.instrument.binder.tomcat.TomcatMetrics.class,TomcatMetricsBinder.class}) public TomcatMetricsBinder tomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)