@Deprecated @Configuration(proxyBeanMethods=false) @ConditionalOnProperty(value="spring.sleuth.web.enabled", matchIfMissing=true) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnBean(value=brave.http.HttpTracing.class) @AutoConfigureAfter(value=TraceHttpAutoConfiguration.class) @ConditionalOnClass(value=org.springframework.web.servlet.handler.HandlerInterceptorAdapter.class) @Import(value=brave.spring.webmvc.SpanCustomizingAsyncHandlerInterceptor.class) public class TraceWebServletAutoConfiguration extends Object
Auto-configuration
enables tracing to HTTP requests.Modifier and Type | Class and Description |
---|---|
protected static class |
TraceWebServletAutoConfiguration.TraceWebMvcAutoConfiguration
Deprecated.
Nested config that configures Web MVC if it's present (without adding a runtime
dependency to it).
|
Modifier and Type | Field and Description |
---|---|
static int |
TRACING_FILTER_ORDER
Deprecated.
Default filter order for the Http tracing filter.
|
Constructor and Description |
---|
TraceWebServletAutoConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.web.servlet.FilterRegistrationBean |
exceptionThrowingFilter(SleuthWebProperties webProperties)
Deprecated.
|
org.springframework.boot.web.servlet.FilterRegistrationBean |
traceWebFilter(org.springframework.beans.factory.BeanFactory beanFactory,
SleuthWebProperties webProperties)
Deprecated.
|
brave.servlet.TracingFilter |
tracingFilter(brave.http.HttpTracing tracing)
Deprecated.
|
public static final int TRACING_FILTER_ORDER
public TraceWebServletAutoConfiguration()
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean traceWebFilter(org.springframework.beans.factory.BeanFactory beanFactory, SleuthWebProperties webProperties)
@Bean @ConditionalOnProperty(value="spring.sleuth.web.exception-logging-filter-enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean exceptionThrowingFilter(SleuthWebProperties webProperties)
@Bean @ConditionalOnMissingBean public brave.servlet.TracingFilter tracingFilter(brave.http.HttpTracing tracing)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.