ryphnyuan commented on issue #722: ServiceComb的调用链默认是对接zipkin的,如何对接jaeger?
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/issues/722#issuecomment-403400645
 
 
   
现在是在io.opentracing.contrib.web.servlet.filter.TracingFilter之后,写了个Filter,把当前的span信息写入到httprequest的attribute里面,然后再定义了一个实现了HttpServerFilter的filter,用于在RestServlet将请求丢入线程池后,调用,重新激活父span。这样勉强连起来了。
   
   
事实上,io.opentracing.contrib.spring.web.interceptor.TracingHandlerInterceptor这里面的方法并没有运行,这个是在DispatcherServlet里面调用的,RestServlet并不会调用。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to