question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure Service Bus dependency messages have no context

See original GitHub issue

Hi, 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:closed
  • Created 2 years ago
  • Comments:16 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
orgadscommented, Feb 3, 2022

It works!

I wonder why there was a difference between my build and the official one, but whatever.

Thanks for the quick fix!

1reaction
orgadscommented, Jan 26, 2022

Thank you @hectorhdzg. Do you plan to publish a new release soon?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found