@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 |
| Constructor and Description |
|---|
TraceWebClientAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TraceRestTemplateInterceptor |
traceRestTemplateInterceptor(Tracer tracer,
HttpSpanInjector spanInjector,
HttpTraceKeysInjector httpTraceKeysInjector) |
@Bean @ConditionalOnMissingBean public TraceRestTemplateInterceptor traceRestTemplateInterceptor(Tracer tracer, HttpSpanInjector spanInjector, HttpTraceKeysInjector httpTraceKeysInjector)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.