-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
error.type
attribute value of http.server.request.duration
metric
#51620
error.type
attribute value of http.server.request.duration
metric
#51620
Comments
@JamesNK PTAL |
@JamesNK we can possibly still take this for GA if necessary. |
This is not a must-have and can wait. The missing behavior is I think this could wait until .NET 9, and we have a breaking change notification to tell people about the change in behavior between .NET 8 and .NET 9. @noahfalk @antonfirsov @lmolkova Thoughts? |
Sounds fine to me. 👍 |
Thanks for confirming the plan. For |
Is there an existing issue for this?
Describe the bug
The value of
error.type
attribute onhttp.server.request.duration
does not take the status code in to account as per the specSrc link:
aspnetcore/src/Hosting/Hosting/src/Internal/HostingMetrics.cs
Lines 72 to 77 in e497b5a
Expected Behavior
error.type
is set to Status Code value as per spec.Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.NET8
Anything else?
No response
The text was updated successfully, but these errors were encountered: