pub const MESSAGING_CLIENT_OPERATION_DURATION: &str = "messaging.client.operation.duration";
Expand description
§Description
Duration of messaging operation initiated by a producer or consumer client.
This metric SHOULD NOT be used to report processing duration - processing duration is reported in messaging.process.duration
metric.
§Metadata
Instrument: | histogram |
Unit: | s |
Status: | Experimental |
§Attributes
Name | Requirement |
---|---|
crate::attribute::MESSAGING_OPERATION_NAME | Required |
crate::attribute::MESSAGING_SYSTEM | Required |
crate::attribute::ERROR_TYPE | Conditionally required : If and only if the messaging operation has failed. |
crate::attribute::MESSAGING_CONSUMER_GROUP_NAME | Conditionally required : if applicable. |
crate::attribute::MESSAGING_DESTINATION_NAME | Conditionally required : if and only if messaging.destination.name is known to have low cardinality. Otherwise, messaging.destination.template MAY be populated. |
crate::attribute::MESSAGING_DESTINATION_SUBSCRIPTION_NAME | Conditionally required : if applicable. |
crate::attribute::MESSAGING_DESTINATION_TEMPLATE | Conditionally required : if available. |
crate::attribute::MESSAGING_OPERATION_TYPE | Conditionally required : If applicable. |
crate::attribute::SERVER_ADDRESS | Conditionally required : If available. |
crate::attribute::MESSAGING_DESTINATION_PARTITION_ID | Unspecified |
crate::attribute::SERVER_PORT | Unspecified |