pub const MESSAGING_BATCH_MESSAGE_COUNT: &str = "messaging.batch.message_count";
Expand description

The number of messages sent, received, or processed in the scope of the batching operation.

Instrumentations SHOULD NOT set messaging.batch.message_count on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use messaging.batch.message_count for batching APIs and SHOULD NOT use it for single-message APIs.

§Examples

  • 0
  • 1
  • 2