Class TomcatMetricsAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.web.tomcat.TomcatMetricsAutoConfiguration
@AutoConfiguration(after=CompositeMeterRegistryAutoConfiguration.class)
@ConditionalOnWebApplication
@ConditionalOnClass({io.micrometer.binder.tomcat.TomcatMetrics.class,org.apache.catalina.Manager.class})
public class TomcatMetricsAutoConfiguration
extends Object
Auto-configuration
for TomcatMetrics
.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontomcatMetricsBinder
(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
Constructor Details
-
TomcatMetricsAutoConfiguration
public TomcatMetricsAutoConfiguration()
-
-
Method Details
-
tomcatMetricsBinder
@Bean @ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnMissingBean({io.micrometer.binder.tomcat.TomcatMetrics.class,TomcatMetricsBinder.class}) public TomcatMetricsBinder tomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-