pub const HTTP_CLIENT_RESPONSE_BODY_SIZE: &str = "http.client.response.body.size";
Expand description
§Description
Size of HTTP client response bodies.
§Notes
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 header. For requests using transport encoding, this should be the compressed size
§Metadata
Instrument: | histogram |
Unit: | By |
Status: | Experimental |
§Attributes
Name | Requirement |
---|---|
crate::attribute::ERROR_TYPE | Conditionally_required : If request has ended with an error. |
crate::attribute::HTTP_REQUEST_METHOD | Required |
crate::attribute::HTTP_RESPONSE_STATUS_CODE | Conditionally_required : If and only if one was received/sent. |
crate::attribute::NETWORK_PROTOCOL_NAME | Conditionally_required : If not http and network.protocol.version is set. |
crate::attribute::NETWORK_PROTOCOL_VERSION | Recommended |
crate::attribute::SERVER_ADDRESS | Required |
crate::attribute::SERVER_PORT | Required |
crate::attribute::URL_SCHEME | Opt_in |
crate::attribute::URL_TEMPLATE | Conditionally_required : If available. |