@ConditionalOnWebApplication @ConditionalOnClass(value={io.micrometer.core.instrument.binder.tomcat.TomcatMetrics.class,org.apache.catalina.Manager.class}) public class TomcatMetricsAutoConfiguration extends Object
Auto-configuration for TomcatMetrics.| Constructor and Description |
|---|
TomcatMetricsAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatReactiveWebServerFactory> |
contextCapturingReactiveTomcatCustomizer() |
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory> |
contextCapturingServletTomcatCustomizer() |
io.micrometer.core.instrument.binder.tomcat.TomcatMetrics |
tomcatMetrics() |
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.tomcat.TomcatMetrics tomcatMetrics()
@Bean @ConditionalOnWebApplication(type=SERVLET) public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory> contextCapturingServletTomcatCustomizer()
@Bean @ConditionalOnWebApplication(type=REACTIVE) public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.tomcat.TomcatReactiveWebServerFactory> contextCapturingReactiveTomcatCustomizer()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.