You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`http.request.body.size`](/docs/attributes-registry/http.md)| int | The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. |`3495`|`Opt-In`||
255
+
|[`http.request.size`](/docs/attributes-registry/http.md)| int | The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. |`1437`|`Opt-In`||
256
+
|[`http.response.body.size`](/docs/attributes-registry/http.md)| int | The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. |`3495`|`Opt-In`||
257
+
|[`http.response.size`](/docs/attributes-registry/http.md)| int | The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. |`1437`|`Opt-In`||
258
+
<!-- endsemconv -->
259
+
243
260
### HTTP client span duration
244
261
245
262
There are some minimal constraints that SHOULD be honored:
@@ -314,7 +331,7 @@ Application developers MAY overwrite potentially inaccurate values of `server.*`
This span type represents an inbound HTTP request.
320
337
@@ -458,6 +475,21 @@ The following attributes can be important for making sampling decisions and SHOU
458
475
459
476
`http.route` MUST be provided at span creation time if and only if it's already available. If it becomes available after span starts, instrumentation MUST populate it anytime before span ends.
460
477
478
+
### HTTP server experimental attributes
479
+
480
+
**Status**: [Experimental][DocumentStatus]
481
+
482
+
Instrumentations MAY allow users to enable additional experimental attributes.
|[`http.request.body.size`](/docs/attributes-registry/http.md)| int | The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. |`3495`|`Opt-In`||
488
+
|[`http.request.size`](/docs/attributes-registry/http.md)| int | The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. |`1437`|`Opt-In`||
489
+
|[`http.response.body.size`](/docs/attributes-registry/http.md)| int | The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. |`3495`|`Opt-In`||
490
+
|[`http.response.size`](/docs/attributes-registry/http.md)| int | The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. |`1437`|`Opt-In`||
0 commit comments