Skip to content

[release/10.0-rc1] Empty "http.route" tags should be set to "/" #63336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 20, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 19, 2025

Backport of #62432 to release/10.0-rc1

/cc @sebastienros @Elanis

Empty "http.route" tags should be set to "/"

Normalizes empty routes to / when used telemetry for the http.route tag.

Description

Currently an empty route and / are seen as two values for telemetry purposes. This PR uses / as the common value used in telemetry as they represent the same thing.

Fixes #62431

Customer Impact

Wrong telemetry reported.

Some diagnostic tooling isn't happy with an empty string route value. Also, the meaning of an empty string route isn't immediately obvious. Using / instead of empty string makes it clear that this route is for the root of the web app.

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

It's only changing a empty tag to / to aggregate metrics correctly.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.1

  • Make necessary changes in eng/PatchConfig.props

@github-actions github-actions bot requested a review from halter73 as a code owner August 19, 2025 22:07
@sebastienros sebastienros added the Servicing-consider Shiproom approval is required for the issue label Aug 19, 2025
@danmoseley danmoseley added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Aug 19, 2025
Copy link
Contributor

Hi @@github-actions[bot]. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed.

@JamesNK JamesNK added this to the 10.0-rc1 milestone Aug 19, 2025
@wtgodbe wtgodbe merged commit 6d99c4d into release/10.0-rc1 Aug 20, 2025
28 checks passed
@wtgodbe wtgodbe deleted the backport/pr-62432-to-release/10.0-rc1 branch August 20, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants