[BUG] Tracing is broken for EventHub binder #23035
Labels
azure-spring
All azure-spring related issues
azure-spring-eventhubs
Spring event hubs related issues.
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
no-recent-activity
There has been no recent activity on this issue.
OpenTelemetry
OpenTelemetry instrumentation
Milestone
Describe the bug
Following the eventhub binder app doc with tracing enabled: message span is not correlated to incoming request.
This is a reactor context propagation issue and we'd need to find
This issue is mostly created for investigation purposes.
It does not affect non-binder scenario (e.g. this one)
To Reproduce
Expected behavior
message span is created as a child of incoming request.
Screenshots
Actual: Two traces (with 2 trace-ids)
Expected: 1 trace (created without binder)
Setup (please complete the following information):
Additional context
Context is available when sending messages to supply sink
But lost when a message is instrumented
Stacktrace shows the attempt of otel agent to propagate reactor context, but it's not successful.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: