eclipse-vertx / vertx-tracing

Vertx integration with tracing libraries
Other
42 stars 34 forks source link

Span Context is missing for async processing tasks #83

Open VishnuTeja27 opened 1 month ago

VishnuTeja27 commented 1 month ago

Version

Which version(s) did you encounter this bug ? 4.5.10

Context

While upgrading from 4.3.7 to 4.5.10, i see that the async processing tasks are missing traceIds.

Do you have a reproducer?

https://github.com/VishnuTeja27/VertxOtelStarter

Steps to reproduce

Setup Otel in vertxOptions and write a method which return immediately but executes some task in the background. We can observe that the span context is missing from the background tasks. The same is shared in the above reproducer project.