Skip to content

[CLEAN] Synthetic Benchmark PR #64854 - Replace static parameters in route pattern for telemetry - #19

Open
bar-qodo wants to merge 1 commit into
base_pr_64854_20260113_2958from
clean_pr_64854_20260113_2958
Open

[CLEAN] Synthetic Benchmark PR #64854 - Replace static parameters in route pattern for telemetry#19
bar-qodo wants to merge 1 commit into
base_pr_64854_20260113_2958from
clean_pr_64854_20260113_2958

Conversation

@bar-qodo

Copy link
Copy Markdown

Benchmark PR dotnet#64854

Type: Clean (correct implementation)

Original PR Title: Replace static parameters in route pattern for telemetry
Original PR Description: OTEL http.route attributes have a new rule: static route parameters should be replaced with the static value.

In the context of ASP.NET Core that means conventional routes should have {controller}, {action}, {area} and {page} parameters replaced when the route is added to telemetry.

For example, with conventional route {controller=Home}/{action=Index}/{id?}, the StoreController.Checkout() endpoint should have a route of Store/Checkout/{id?}.

Fixes dotnet#64852
Original PR URL: dotnet#64854

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants