http.request.method
attribute value in HttpClient and ASP.NET Core
#4994
Labels
bug
Something isn't working
Milestone
Bug Report
http.request.method
attribute value is set as it is from the original method with which the request was sent/received. This is incorrect. Specification only allows known verbs to be set ashttp.request.method
. Any unknown method MUST be set as_OTHER
.Spec reference
When the method does not match one of the known verbs then
http.request.method_original
should be set on spans only.Support for OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS will not be added in initial release to keep the experience consistent between NET8.0 and lower versions. .NET8.0 metrics does not provide this extensibility.
The text was updated successfully, but these errors were encountered: