Class WebMvcObservationAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.observation.web.servlet.WebMvcObservationAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class,ObservationAutoConfiguration.class})
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({org.springframework.web.servlet.DispatcherServlet.class,io.micrometer.observation.Observation.class})
@ConditionalOnBean(io.micrometer.observation.ObservationRegistry.class)
@EnableConfigurationProperties({MetricsProperties.class,ObservationProperties.class})
public class WebMvcObservationAutoConfiguration
extends Object
Auto-configuration
for instrumentation of Spring Web
MVC servlet-based request mappings.- Since:
- 3.0.0
- Author:
- Brian Clozel, Jon Schneider, Dmytro Nosan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwebMvcObservationFilter
(io.micrometer.observation.ObservationRegistry registry, ObjectProvider<ServerRequestObservationConvention> customConvention, ObservationProperties observationProperties)
-
Constructor Details
-
WebMvcObservationAutoConfiguration
public WebMvcObservationAutoConfiguration()
-
-
Method Details
-
webMvcObservationFilter
@Bean @ConditionalOnMissingFilterBean public FilterRegistrationBean<ServerHttpObservationFilter> webMvcObservationFilter(io.micrometer.observation.ObservationRegistry registry, ObjectProvider<ServerRequestObservationConvention> customConvention, ObservationProperties observationProperties)
-