How to change trace-id header in opentracing?

Viewed 5886

Is there way to configure opentracing-spring-jaeger-cloud-starter to handle any other header than Uber-Trace-Id? I have Traefik as an ingress in my kubernetes cluster. Traefik can be configured to change traceContextHeaderName. Default value is "uber-trace-id". When I change it to some custom, there is no connection (I mean span connection) between services. I believe that opentracing works only with Uber-Trace-Id. Is there way to configure that?

I test this in minikube with Traefik as an ingress. Then all requests go to spring-cloud-gateway and are propagate to services.

Thanks for help!

1 Answers
Related