@Configuration @SleuthWebClientEnabled @ConditionalOnClass(value=org.springframework.web.client.RestTemplate.class) @ConditionalOnBean(value=HttpTraceKeysInjector.class) public class TraceWebClientAutoConfiguration extends Object
Auto-configuration enables span information propagation when using
RestTemplate| Modifier and Type | Class and Description |
|---|---|
protected static class |
TraceWebClientAutoConfiguration.TraceInterceptorConfiguration |
protected static class |
TraceWebClientAutoConfiguration.TraceOAuthConfiguration |
| Constructor and Description |
|---|
TraceWebClientAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TraceRestTemplateInterceptor |
traceRestTemplateInterceptor(Tracer tracer,
HttpSpanInjector spanInjector,
HttpTraceKeysInjector httpTraceKeysInjector,
ErrorParser errorParser) |
@Bean @ConditionalOnMissingBean public TraceRestTemplateInterceptor traceRestTemplateInterceptor(Tracer tracer, HttpSpanInjector spanInjector, HttpTraceKeysInjector httpTraceKeysInjector, ErrorParser errorParser)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.