-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[SB][pyamqp][OTEL] pyamqp tracing is missing values for amqpLink and amqpSession #32190
Copy link
Copy link
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.MessagingMessaging crewMessaging crewService BusbugThis 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
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.MessagingMessaging crewMessaging crewService BusbugThis 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
Describe the bug
We get logs like
Looks like pyamqp distributed tracing is trying to add attributes to the span that are clearly empty.
To Reproduce
Use Azure SB with pyamqp and enable opentelemetry instrumentation. Try sending some messages.
Expected behavior
amqpLinkandamqpSessionis not an empty value or if it's an empty value then it's not added as attribute to the span.Screenshots

Additional context
As a library user I would like to know if there's an issue, but this logs would come up too often and would only increase our bill.