apache / dubbo-go

Go Implementation For Apache Dubbo .
https://dubbo.apache.org/
Apache License 2.0
4.69k stars 918 forks source link

tracing板块支持B3和W3C标准 #2259

Open yanyanran opened 1 year ago

yanyanran commented 1 year ago
yanyanran commented 1 year ago

@zhaoyunxing92 Hello! I have learned about B3 and W3C tracking standards in the past few days. I read the core source code of Otel-collector, and also read the implementation of tracing in Dubbo's dubbo-spring-boot-observability directory, because I think it is implemented by referring to Dubbo's java version Supporting B3 and W3C standards might be helpful for my task. But I found that it seems to refer to the packaged implementation support in the brave library. Now I am a little confused, if Dubbo-go supports B3 and W3C tracking standards, should I start with the distributed tracking framework? What I mean is that Otel supports the W3C standard, and Zipkin supports the B3 standard, so is it related to these two frameworks? Please give me some guidance, thanks a lot!

conghuhu commented 1 year ago

@yanyanran Open Telemetry (otel) and Brave can be understood as protocol, zipkin can be understood as backend, and otel can collect tracing information and export it to zipkin. The implementation on the Java side is like: through the micrometer in the Java field, it can bridge and convert to otel or brave, and users can choose whether to export to zipkin or other backend.

yanyanran commented 1 year ago

@conghuhu I think I get it, any help is greatly appreciated!