Setting cloud role name in v3?
Under 2.x in CJS we had
const appInsights = require('applicationinsights') ... appInsights.defaultClient.context.tags[appInsights.defaultClient.context.keys.cloudRole] = 'our-name-here'
What's the equivalent in 3.x please?
I didn't immediately spot this in the migration guide, apologies if I have just missed it
This has been addressed here: https://github.com/microsoft/ApplicationInsights-node.js/issues/1352. I can address this in documentation to make it clear that this support is not here yet.
@DevRCRun Does using the OTEL_RESOURCE_ATTRIBUTES environment variable work for your use case?
Closing as the issue has been previously addressed.