You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I use Spring Boot WebFlux + open-telemetry java agent, and add Baggage to the Context, but I found that if I add baggage.storeInContext(Context.current()).makeCurrent() on Filter,
Call a normal block http api, everything is fine.
Call a flux http api, each traceId is duplicated for many times.
If I don't add baggage to Context and don't makeCurrent(), then flux api is also fine.
jkwatson
transferred this issue from open-telemetry/opentelemetry-java
Aug 23, 2024
giantoneday
changed the title
Spring Boot WebFlux + open-telemetry java agent, use Baggage, traceId is duplicated for many times.
Spring Boot WebFlux + open-telemetry java agent, use Baggage and makeCurrent() in Filter, traceId is duplicated for many times.
Aug 23, 2024
Hi,
I use Spring Boot WebFlux + open-telemetry java agent, and add Baggage to the Context, but I found that if I add baggage.storeInContext(Context.current()).makeCurrent() on Filter,
My test project is here: flux-open-telemetry.zip
And please read the README to reproduce my issue.
Could you please show me how to fix this problem? Because it's important for me.
some similar issues reported by others:
Thanks.
The text was updated successfully, but these errors were encountered: