-
Notifications
You must be signed in to change notification settings - Fork 140
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
Roles for Multi-component applications does not work in 3.x #1352
Comments
Hi @bertybot it would be possible to set these values in version 3.X of the SDK currently, but you'd need to take advantage of OpenTelemetry resource attributes to do so before, which is documented here in the Azure Monitor OpenTelemetry which version 3.X of the Application Insights SDK is built on. I'd like to add support for setting |
Do you have an example using this library? The Telemetry client only takes in a string with no way to send resources. I could just use AzureMonitor directly but, then I would have no reason to use this package. Really documentation on best practices of using this package would be much appreciated. |
@bertybot Apologies, the above is intended as a workaround using another package if you're in need of this functionality immediately and wanted to use the latest package. If you can wait for support on this package and don't want to move over to the Azure Monitor OpenTelemetry distro, then that's the advised path. |
@bertybot You could also use the OpenTelemetry resource attributes environment variable, |
Hello, I found this issue when I was investigating the same problem. Is there any ETA for this feature? Support for application version would be great too. Thanks |
#99) * HDPI-88 - Downgrading app insights version to allow for assigning cloud role name (microsoft/ApplicationInsights-node.js#1352)
Hey I have an existing application that was following the docs mentioned here to define a roleName for my node application so that it would show up in the application map. As of version 3.x this no longer works, and my application shows up in the application map as
unkown_service:node
downgrading to version 2.9.5 fixes this issue and the name shows up correctly. Is there any recommendations to fix this issue?The text was updated successfully, but these errors were encountered: