@Configuration @AutoConfigureAfter(value={MetricsAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class}) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) @ConditionalOnWebApplication(type=REACTIVE) public class WebFluxMetricsAutoConfiguration extends Object
Auto-configuration
for instrumentation of Spring
WebFlux applications.Constructor and Description |
---|
WebFluxMetricsAutoConfiguration(MetricsProperties properties) |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.config.MeterFilter |
metricsHttpServerUriTagFilter() |
MetricsWebFilter |
webfluxMetrics(io.micrometer.core.instrument.MeterRegistry registry,
WebFluxTagsProvider tagConfigurer) |
DefaultWebFluxTagsProvider |
webfluxTagConfigurer() |
public WebFluxMetricsAutoConfiguration(MetricsProperties properties)
@Bean @ConditionalOnMissingBean(value=WebFluxTagsProvider.class) public DefaultWebFluxTagsProvider webfluxTagConfigurer()
@Bean public MetricsWebFilter webfluxMetrics(io.micrometer.core.instrument.MeterRegistry registry, WebFluxTagsProvider tagConfigurer)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.