pub const MESSAGING_CLIENT_PUBLISHED_MESSAGES: &str = "messaging.client.published.messages";
Expand description

§Description

Number of messages producer attempted to publish to the broker.

This metric MUST NOT count messages that were created haven't yet been attempted to be published.

§Metadata

Instrument:counter
Unit:{message}
Status:Experimental

§Attributes

NameRequirement
crate::attribute::MESSAGING_OPERATION_NAMERequired
crate::attribute::MESSAGING_SYSTEMRequired
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_TEMPLATEConditionally required: if available.
crate::attribute::SERVER_ADDRESSConditionally required: If available.
crate::attribute::MESSAGING_DESTINATION_PARTITION_IDUnspecified
crate::attribute::SERVER_PORTUnspecified