-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Service Bus dependency messages have no context #883
Comments
@hectorhdzg ping |
Thank you @hectorhdzg. Do you plan to publish a new release soon? |
@orgads we plan to release early next week |
Hi @hectorhdzg I tried to run the example app from above with your fix in it, and the rest request doesn't hold the service-bus message as dependency, In addition, now the service-bus messages not shown at all in the AI UI. Can you check it? Thanks cc: @orgads |
@bivas6 which version of service-bus package are you using? |
@hectorhdzg 7.4.0 |
@orgads do you have any OpenTelemetry package as dependency in your project? |
No. I have only the packages that I |
Sorry, these tests on linux were with version 2.2.0. With latest develop it's the same as on Windows (no ServiceBus at all). This is my package.json (I published my own package from develop): {
"name": "servicebus",
"version": "1.0.0",
"main": "servicebus.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"@azure/service-bus": "^7.4.0",
"applicationinsights": "npm:@audc/applicationinsights@^2.3.0",
"axios": "^0.25.0",
"express": "^4.17.2",
"ws": "^8.4.2"
}
} |
@hectorhdzg were you able to reproduce? Can I provide you any more information? |
@orgads still no repro on my side, can you try with latest version of Application Insights SDK?, we published yesterday, can you turn logging and share the logs if you still have the problem? |
It works! I wonder why there was a difference between my build and the official one, but whatever. Thanks for the quick fix! |
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!
The text was updated successfully, but these errors were encountered: