GuoLei Song
GuoLei Song
@yangzhongj SOFATracer 组件埋点是基于拦截或者代理来实现的,对于 redis 或者 mysql ,基于 SOFATracer 本身API 的埋点或者基于Opentracing API 的埋点实现也是基于上述基本思路。
> 类似codis的java版redis-proxy, redis-proxy 都是通过 redis 协议的请求。我理解traceId应该在传递在协议层做的。但是redis协议没法是无法改变的。 是开源的产品吗?可以提供一些具体的信息,方便我们调研然后支持。另外我们后面会逐渐向 [opentracing-contrib](https://github.com/opentracing-contrib) 靠近,opentracing-contrib 已经有贡献[redis 客户端](https://github.com/opentracing-contrib/java-redis-client)的埋点实现,可以参考。如果你们对此有需求,我们会尽快推进对此的支持。
@raojun0504 当前使用的 SOFAtracer 版本是多少?可以看下 release node ,以确认当前版本是否支持 redis 客户端埋点
@raojun0504 可以debug 看下 MDCSpanExtension 是否有被执行到
@haoxd since 3.0.6
Well, in the plan https://github.com/sofastack/sofa-tracer/issues/226 , if you are interested, please submit a PR
@taotao365s 从现象看是线程复用导致,可以提供一个简单的复现 demo 吗?
@zmapleshine 使用的 Dubbo 版本是多少?
@anjia0532 First of all, thank you for your interest in SOFATracer. For component support, we want to build together through the community, so I hope you can submit the code...
@nobodyiam @xzchaoo why not merge this PR?