Class WebFluxObservationAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.observation.web.reactive.WebFluxObservationAutoConfiguration
@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class,ObservationAutoConfiguration.class})
@ConditionalOnClass(io.micrometer.observation.Observation.class)
@ConditionalOnBean(io.micrometer.observation.ObservationRegistry.class)
@ConditionalOnWebApplication(type=REACTIVE)
@EnableConfigurationProperties({MetricsProperties.class,ObservationProperties.class})
public class WebFluxObservationAutoConfiguration
extends Object
Auto-configuration
for instrumentation of Spring
WebFlux applications.- Since:
- 3.0.0
- Author:
- Brian Clozel, Jon Schneider, Dmytro Nosan
-
Constructor Summary
ConstructorsConstructorDescriptionWebFluxObservationAutoConfiguration
(ObservationProperties observationProperties) -
Method Summary
Modifier and TypeMethodDescriptionwebfluxObservationFilter
(io.micrometer.observation.ObservationRegistry registry, ObjectProvider<ServerRequestObservationConvention> customConvention)
-
Constructor Details
-
WebFluxObservationAutoConfiguration
-
-
Method Details
-
webfluxObservationFilter
@Bean @ConditionalOnMissingBean(org.springframework.web.filter.reactive.ServerHttpObservationFilter.class) @Order(-2147483647) public ServerHttpObservationFilter webfluxObservationFilter(io.micrometer.observation.ObservationRegistry registry, ObjectProvider<ServerRequestObservationConvention> customConvention)
-