[QUERY] Value of attribute deployment.environment is not being sent to app insights
See original GitHub issueLibrary name and version
Azure.Monitor.OpenTelemetry.Exporter version 1.0.0-beta.9
Query/Question
Hello We use open telemetry with app insights, and we would like to use the deployment.environment property in order to discriminate between our environments, and not mix metrics reported by production and test environments.
We use the following code in open telemetry:
.AddAttributes(new Dictionary<string, object>() { { "deployment.environment", "ppe or prod" } });
But unfortunately in the app insights customMetrics table we cannot find this value anywhere.
Please can you advise on what would be the recommended approach in that case?
Environment
No response
Issue Analytics
- State:
- Created 5 months ago
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Troubleshoot no data in Application Insights for .NET - Azure
In Visual Studio Solution Explorer, right-click the project and select Application Insights > Configure. Reset the app to send telemetry to the ...
Read more >Appinsights hidden-link tags are beeing added and ...
The hidden-link tag is used to link Application Insights to a particular resource, so that's expected if the other resource is connected to ......
Read more >Azure Monitor Application Insights for Java
This article shows you how to configure Azure Monitor Application Insights for Java.
Read more >"az monitor app-insights component create" fails with HTTP ...
I am simply deploying a bicep template consisting of a log analytics workspace and application insight and deployment fails occasionally saying ...
Read more >Azure Application Insights not showing data
My admin solved the issue by creating a new instance of Azure Application Insights which was linked to a Log Analytic Workspace within...
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 FreeTop 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
Top GitHub Comments
@navba-MSFT where are we at with this? The PR from May 4th is abandoned and closed, can we get an official update so that the Azure Monitor Exporter for .NET sends Resource attributes correctly?
hi @navba-MSFT Thanks for taking time to answer, I know that I can add tags to activities. Here we are looking for a global solution, I don’t want to have to pass the
deployment.environment
value to every activities. Do you know if there is a way to configure global tags maybe?