Skip to content

Commit

Permalink
Update semantic_conventions/http-common.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Neumüller <[email protected]>
  • Loading branch information
lmolkova and Oberon00 authored Jun 20, 2023
1 parent eb8f853 commit 8a309c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions semantic_conventions/http-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ groups:
By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods)
and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html).
If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER` and, if it reports spans, MUST
populate the exact method passed in the request line on `http.request.method_original` span attribute.
If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER` and, except if reporting a metric, MUST
set the exact method received in the request line as value of the `http.request.method_original` attribute.
If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override
the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named
Expand Down

0 comments on commit 8a309c8

Please sign in to comment.