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

Cloud role name overrides

Open
#4,206 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, java
Domain
observability

Research direction

Start with the linked Azure Monitor Java standalone configuration documentation, especially the preview roleNameOverrides section, then locate the existing implementation of that feature in the repository. Determine how the request hostname is exposed to the agent and how override matching currently works. Done means hostname-based prefixes can select the configured role name, with coverage for the examples in the issue.

Written by the indexing model from the issue text.

Description

Enhancement

I've seen the preview feature, which I think is great: https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#cloud-role-name-overrides-preview

I think it would be a good extension if you could also use the hostname as a prefix.

e.g. you have two domains like https://app1.my-domain.com and https://app2.my-domain.com

E.g.

{
  "preview": {
    "roleNameOverrides": [
      {
        "hostPrefix": "app1",
        "roleName": "Role A"
      },
      {
        "hostPrefix": "app2",
        "roleName": "Role B"
      }
    ]
  }
}

or

{
  "preview": {
    "roleNameOverrides": [
      {
        "hostPrefix": "app1.my-domain.com ",
        "roleName": "Role A"
      },
      {
        "hostPrefix": "app2.my-domain.com ",
        "roleName": "Role B"
      }
    ]
  }
}
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.