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
When combining multiple unis, the operationName field retains the last uni processed instead of retaining the value it was initialized with. As a result, the generated spans are not consistent.
I found that the same context instance is being shared and modified by different instances of ClientObservabilityHandler
Also, different instances of WebTargetImpl are sharing the same HandlerChain instance. This should not happen because the setPreClientSendHandler method is called multiple times with different instances of ClientObservabilityHandler.
We have three operation names where "operationName": "GET /step_3" but we should have only one. And in two of them, the url.full tag corresponds to another url that was called previously.
Describe the bug
When combining multiple unis, the operationName field retains the last uni processed instead of retaining the value it was initialized with. As a result, the generated spans are not consistent.
I found that the same context instance is being shared and modified by different instances of ClientObservabilityHandler
Also, different instances of WebTargetImpl are sharing the same HandlerChain instance. This should not happen because the setPreClientSendHandler method is called multiple times with different instances of ClientObservabilityHandler.
Expected behavior
Trace Data
Actual behavior
Trace Data
We have three operation names where
"operationName": "GET /step_3"
but we should have only one. And in two of them, the url.full tag corresponds to another url that was called previously.How to Reproduce?
Reproducer:
https://github.com/jcuero/quarkus-open-telemetry-bug
Run the project and execute:
curl -X GET --location "http://localhost:8080/wizard-client/work"
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: