ApplicationInsights-Java icon indicating copy to clipboard operation
ApplicationInsights-Java copied to clipboard

Automatically populate Kubernetes customDimensions

Open carlin-q-scott opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I'd like to have information about the deployment environment collected and sent along with the traces.

I was expecting this information to already be included like it is with the codeless asp.net library for App Insights for Kubernetes.

Describe the solution you would like The agent should have a configuration option that causes it to automatically collect environment info from the Kuberentes API and decorate the metrics/traces with that information.

Describe alternatives you have considered

Inject environment variables via the resource definition and reference them in the applicationinsights.json customDimensions section.

carlin-q-scott avatar Feb 24 '23 18:02 carlin-q-scott