-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Investigate metrics endpoint behavior when exception middleware runs #52648
Comments
Thanks, just reported this also in #52766 (duplicate) 👍 Question: Will this be published in an 8.0 release update or do we have to wait for 9.0? (Hoping for the former) |
The fix will be back ported to 8.0.2 (available approx Feb or March) |
Your issue here - #52766 - says the counter is muted. What do you mean by that? With the bug here, I would still expect a value to be recorded, but without a |
My fault. I retested it again and the value is indeed recorded, but without the |
Reopen to track backport to 8.0 |
Added to backport with #52790. |
Is there an existing issue for this?
Describe the bug
OTEL folks noticed that the endpoint is cleared when exception middleware runs. See open-telemetry/opentelemetry-dotnet#5134
Investigate whether this impacts ASP.NET Core's use of the endpoint when building tags for metrics.
Expected Behavior
Metrics endpoint route tag is present when exception middleware runs.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
net8.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: