@Configuration
@SleuthWebClientEnabled
@ConditionalOnProperty(value="spring.sleuth.web.async.client.enabled",
matchIfMissing=true)
@ConditionalOnClass(value=org.springframework.web.client.AsyncRestTemplate.class)
@ConditionalOnBean(value=HttpTraceKeysInjector.class)
public class TraceWebAsyncClientAutoConfiguration
extends Object
Auto-configuration
enables span information propagation for AsyncClientHttpRequestFactory and
AsyncRestTemplate| Constructor and Description |
|---|
TraceWebAsyncClientAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.client.AsyncRestTemplate |
traceAsyncRestTemplate() |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.