Constant MESSAGING_CLIENT_CONSUMED_MESSAGES
pub const MESSAGING_CLIENT_CONSUMED_MESSAGES: &'static str;
Expand description
§Description
Number of messages that were delivered to the application.
§Notes
Records the number of messages pulled from the broker or number of messages dispatched to the application in push-based scenarios. The metric SHOULD be reported once per message delivery. For example, if receiving and processing operations are both instrumented for a single message delivery, this counter is incremented when the message is received and not reported when it is processed
§Metadata
Instrument: | counter |
Unit: | {message} |
Status: | Experimental |
§Attributes
Name | Requirement |
---|---|
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_PARTITION_ID | Recommended |
crate::attribute::MESSAGING_DESTINATION_SUBSCRIPTION_NAME | Conditionally_required : if applicable. |
crate::attribute::MESSAGING_DESTINATION_TEMPLATE | Conditionally_required : if available. |
crate::attribute::MESSAGING_OPERATION_NAME | Required |
crate::attribute::MESSAGING_SYSTEM | Required |
crate::attribute::SERVER_ADDRESS | Conditionally_required : If available. |
crate::attribute::SERVER_PORT | Recommended |