MESSAGING_CLIENT_SENT_MESSAGES

Constant MESSAGING_CLIENT_SENT_MESSAGES 

pub const MESSAGING_CLIENT_SENT_MESSAGES: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

§Description

Number of messages producer attempted to send to the broker.

§Notes

This metric MUST NOT count messages that were created but haven’t yet been sent

§Metadata

Instrument:counter
Unit:{message}
Status:Development

§Attributes

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