opentracing-contrib / java-spring-jaeger

Apache License 2.0
257 stars 95 forks source link

Span information in log fields #35

Open msoub opened 5 years ago

msoub commented 5 years ago

I was not able to find that in the doc neither the code: is it possible to add to the logs the span data? E.g. I would like to find the logs corresponding to a trace ID.

Thanks for your help.

geoand commented 5 years ago

@pavolloffay is this something the newer versions of the opentracing-java or jaeger-client take care of?

yinghuzhu commented 5 years ago

@msoub did you figure out this issue ?

msoub commented 5 years ago

No I didn't. To be honest we encountered several issues while migrating from Zipkin to Jaeger so for now we are back to Zipkin.

pavolloffay commented 5 years ago

The new opentracing API 0.32.0 allows getting trace/span IDs. We haven't updated to this version yet. It will be done anytime soon.