futurewei-cloud / alcor

Alcor: Cloud native SDN platform powered by Kubernetes and Istio
MIT License
32 stars 33 forks source link

[Jaeger Tracing] Connect Tracing Spans Between NCM and ACA #710

Open zzxgzgz opened 2 years ago

zzxgzgz commented 2 years ago

What happened:

We suspect the un-connected tracing spans are caused by NCM(and Alcor Services) uses the opentracing libraries, and ACA, on the other hand, uses opentelemetry libraries. We suspect that by replacing the opentracing libraries with opentelemetry libraries, this problem might be solved.

Links for the libraries:

  1. gRPC Tracing in NCM using opentracing
  2. gRPC Tracing using opentelemetry in Java(for Alcor Services)
  3. gRPC Tracing using opentelemetry in Cpp(for ACA)

If you compare the libraries, you can see that the syntax in 2 and 3 are very similar, and 1 is pretty distict from the other two. So, we have a good reason that this libraries mismatch might be the cause of those un-connected spans.

If you wish to take a look with the ACA with Jaeger added, please visit this branch of ACA