opentelemetry_semantic_conventions::metric

Constant MESSAGING_PROCESS_DURATION

source
pub const MESSAGING_PROCESS_DURATION: &str = "messaging.process.duration";
Expand description

§Description

Duration of processing operation.

§Notes

This metric MUST be reported for operations with messaging.operation.type that matches process

§Metadata

Instrument:histogram
Unit:s
Status:Experimental

§Attributes

NameRequirement
crate::attribute::ERROR_TYPEConditionally_required: If and only if the messaging operation has failed.
crate::attribute::MESSAGING_CONSUMER_GROUP_NAMEConditionally_required: if applicable.
crate::attribute::MESSAGING_DESTINATION_NAMEConditionally_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_PARTITION_IDRecommended
crate::attribute::MESSAGING_DESTINATION_SUBSCRIPTION_NAMEConditionally_required: if applicable.
crate::attribute::MESSAGING_DESTINATION_TEMPLATEConditionally_required: if available.
crate::attribute::MESSAGING_OPERATION_NAMERequired
crate::attribute::MESSAGING_SYSTEMRequired
crate::attribute::SERVER_ADDRESSConditionally_required: If available.
crate::attribute::SERVER_PORTRecommended