Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Automatically populate Kubernetes customDimensions

Open
#2,935 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, java, kubernetes

Research direction

Start with the Java agent configuration and the Kubernetes API information described in the issue, including the applicationinsights.json customDimensions section. Define which deployment environment data should be collected and how a configuration option would decorate metrics and traces; done means that Kubernetes environment information is automatically included without manual environment-variable injection.

Written by the indexing model from the issue text.

Description

Needs: Attention :wave:

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.

Dominant language
Java
Stars
327
Forks
222
Avg merge
22h 34m
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/ApplicationInsights-Java

All issues in microsoft/ApplicationInsights-Java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.