@Configuration
@ConditionalOnProperty(value="spring.sleuth.web.enabled",
matchIfMissing=true)
@ConditionalOnWebApplication
@ConditionalOnBean(value=Tracer.class)
public class TraceWebAutoConfiguration
extends Object
Auto-configuration enables tracing to HTTP requests.| Modifier and Type | Class and Description |
|---|---|
protected static class |
TraceWebAutoConfiguration.SkipPatternProviderConfig |
protected static class |
TraceWebAutoConfiguration.TraceWebMvcAutoConfiguration
Nested config that configures Web MVC if it's present (without adding a runtime
dependency to it)
|
| Constructor and Description |
|---|
TraceWebAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.sleuth.instrument.web.TraceWebAutoConfiguration.SkipPatternProvider |
defaultSkipPatternBean(SleuthWebProperties sleuthWebProperties) |
TraceFilter |
traceFilter(Tracer tracer,
TraceKeys traceKeys,
org.springframework.cloud.sleuth.instrument.web.TraceWebAutoConfiguration.SkipPatternProvider skipPatternProvider,
SpanReporter spanReporter,
HttpSpanExtractor spanExtractor,
HttpTraceKeysInjector httpTraceKeysInjector) |
org.springframework.cloud.sleuth.instrument.web.TraceSpringDataBeanPostProcessor |
traceSpringDataBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory) |
TraceWebAspect |
traceWebAspect(Tracer tracer,
TraceKeys traceKeys,
SpanNamer spanNamer) |
org.springframework.boot.web.servlet.FilterRegistrationBean |
traceWebFilter(TraceFilter traceFilter) |
@Bean public TraceWebAspect traceWebAspect(Tracer tracer, TraceKeys traceKeys, SpanNamer spanNamer)
@Bean @ConditionalOnClass(name="org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping") public org.springframework.cloud.sleuth.instrument.web.TraceSpringDataBeanPostProcessor traceSpringDataBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory)
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean traceWebFilter(TraceFilter traceFilter)
@Bean public TraceFilter traceFilter(Tracer tracer, TraceKeys traceKeys, org.springframework.cloud.sleuth.instrument.web.TraceWebAutoConfiguration.SkipPatternProvider skipPatternProvider, SpanReporter spanReporter, HttpSpanExtractor spanExtractor, HttpTraceKeysInjector httpTraceKeysInjector)
@Bean @ConditionalOnMissingClass(value="org.springframework.boot.actuate.autoconfigure.ManagementServerProperties") @ConditionalOnMissingBean(value=org.springframework.cloud.sleuth.instrument.web.TraceWebAutoConfiguration.SkipPatternProvider.class) public org.springframework.cloud.sleuth.instrument.web.TraceWebAutoConfiguration.SkipPatternProvider defaultSkipPatternBean(SleuthWebProperties sleuthWebProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.