Skip to content

Commit

Permalink
request/response are a better prefix than raw
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Jun 9, 2020
1 parent 1822cdd commit 423dd30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/trace/semantic_conventions/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ Note that the items marked with [1] are different from the mapping defined in th
| `http.flavor` | Kind of HTTP protocol used: `"1.0"`, `"1.1"`, `"2"`, `"SPDY"` or `"QUIC"`. | No |
| `http.user_agent` | Value of the HTTP [User-Agent][] header sent by the client. | No |
| `http.request_content_length` | The size of the request body in bytes. For requests using transport encoding, this should be the compressed size. | No |
| `http.raw_request_content_length` | The size of the raw request body after transport decoding. Not set if transport encoding not used. | No |
| `http.request_raw_content_length` | The size of the raw request body after transport decoding. Not set if transport encoding not used. | No |
| `http.response_content_length` | The size of the response body in bytes. For requests using transport encoding, this should be the compressed size. | No |
| `http.raw_response_content_length` | The size of the raw response body after transport decoding. Not set if transport encoding not used. | No |
| `http.response_raw_content_length` | The size of the raw response body after transport decoding. Not set if transport encoding not used. | No |


It is recommended to also use the general [network attributes][], especially `net.peer.ip`. If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed.
Expand Down

0 comments on commit 423dd30

Please sign in to comment.