public class TracingWebClientBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor for instrumenting WebClient with tracing.
Similar to TraceWebClientBeanPostProcessor from spring-cloud-sleuth-core.| Constructor and Description |
|---|
TracingWebClientBeanPostProcessor(io.opentracing.Tracer tracer,
List<WebClientSpanDecorator> spanDecorators) |
| Modifier and Type | Method and Description |
|---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public TracingWebClientBeanPostProcessor(io.opentracing.Tracer tracer,
List<WebClientSpanDecorator> spanDecorators)
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionCopyright © 2016–2020. All rights reserved.