pub const HTTP_CLIENT_REQUEST_DURATION: &str = "http.client.request.duration";
Expand description
§Description
Duration of HTTP client requests.
§Metadata
Instrument: | histogram |
Unit: | s |
Status: | Stable |
§Attributes
Name | Requirement |
---|---|
crate::attribute::HTTP_REQUEST_METHOD | Required |
crate::attribute::SERVER_ADDRESS | Required |
crate::attribute::SERVER_PORT | Required |
crate::attribute::ERROR_TYPE | Conditionally required : If request has ended with an error. |
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 | Unspecified |
crate::attribute::URL_SCHEME | Opt in |