-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
OpenTelemetryOpenTelemetry instrumentationOpenTelemetry instrumentationService BusServiceBusTrack2This label is to manage work item for track 2.This label is to manage work item for track 2.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Description
Describe the bug
The first call to ServiceBusSenderClient.sendMessage() does not recognize the current tracing context, and thus the span created when sending a message gets a new trace ID.
To Reproduce
See this repo: https://github.com/ragnaroh-nrk/azure-service-bus-tracing-issue
Expected behavior
The span created when sending a message should get the same trace ID as the current trace context.
Setup (please complete the following information):
- OS: iOS
- IDE: IntelliJ
- Library/Libraries: com.azure:azure-core-tracing-opentelemetry:1.0.0-beta.56
- Java version: 21
- App Server/Environment: Tomcat
- Frameworks: Spring Boot
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
- Bug Description Added
- Repro Steps Added
- Setup information Added
Metadata
Metadata
Assignees
Labels
OpenTelemetryOpenTelemetry instrumentationOpenTelemetry instrumentationService BusServiceBusTrack2This label is to manage work item for track 2.This label is to manage work item for track 2.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
