Azure Service Bus dependency messages have no context
See original GitHub issueHi, We’re using AI to track our app, and everything works as expected except service-bus messages. We have http endpoint which receives a request, then sends a message on the service bus. All the logs in this function and http/s requests have the same context in the AI as the incoming http request, but the service-bus outgoing message looks like a stand-alone dependency without a parent and context.
Should I add something manually to the ServiceBusClient.send
call? Is it a bug?
I can give you a small script to reproduce + screenshots from our AI UI. (edit: code and screenshots attached)
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (14 by maintainers)
Top Results From Across the Web
Service Bus messaging exceptions - Azure - Microsoft Learn
This article provides a list of Azure Service Bus messaging exceptions and suggested actions to taken when the exception occurs.
Read more >How to use EF Core after I've received a message from my ...
It seems your problem is with DI. Your ServiceBusConsumer service is a singleton but you inject a DbContext as a constructor.
Read more >Managing Azure Service Bus Connections | by William Rees
The application will start, create a new client and sender, send a batch of messages and finally dispose the client & sender. In...
Read more >Missing Service Bus dependency telemetry #208 - GitHub
For most of the REST calls I see AI dependency data for it. For example, when I use Microsoft.ServiceBus.Messaging.TopicClient.Send() , I can ...
Read more >Azure Service Bus client library for Java - javadoc.io
Known Issue: The pom.xml file should list azure-messaging-servicebus before azure-identity client libraries. This issue is resolved with azure-identity: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It works!
I wonder why there was a difference between my build and the official one, but whatever.
Thanks for the quick fix!
Thank you @hectorhdzg. Do you plan to publish a new release soon?