aio-flavor or azure.servicebus not working correctly with tracing spans #28738
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Messaging
Messaging crew
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
Describe the bug
I get the following warning for every received message on service bus:
/usr/local/lib/python3.10/site-packages/azure/servicebus/_common/utils.py:287: RuntimeWarning: coroutine 'BaseHandler._add_span_request_attributes' was never awaited
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warning given and trace recorded correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
servicebus/_common/utils.py always expects sync version of _add_span_request_attributes()
The text was updated successfully, but these errors were encountered: