opentracing-contrib / java-spring-jaeger

Apache License 2.0
256 stars 95 forks source link

Propagating trace information via Feign client #116

Open gana2244 opened 3 years ago

gana2244 commented 3 years ago

I tried the approach given here to propagate trace information via Feign client but it does not work: https://github.com/opentracing-contrib/java-spring-jaeger#trace-id-not-propagated-via-the-feign-client

Any idea what could be going wrong?

gana2244 commented 3 years ago

Just wanted to add that there was another solution here - https://github.com/OpenFeign/feign-opentracing which works with some coding like described in this article here https://github.com/yandok/DistributedTracing-Example/blob/master/DistributedTracing-AppB/src/main/java/yan/dok/OpenTracingAppB/GreetingController.java but it would be nicer to get it working through a common configuration with a single dependency.