opentelemetry_semantic_conventions::metric

Constant MESSAGING_PUBLISH_DURATION

Source
pub const MESSAGING_PUBLISH_DURATION: &str = "messaging.publish.duration";
👎Deprecated: Replaced by messaging.client.operation.duration.
Expand description

§Description

Deprecated. Use messaging.client.operation.duration instead

§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_OPERATION_NAMERequired
crate::attribute::SERVER_ADDRESSConditionally_required: If available.
crate::attribute::SERVER_PORTRecommended