TraceAttributes::MESSAGING_BATCH_MESSAGE_COUNT
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.
@example 1 @example 2
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 2548
Class
Namespace
OpenTelemetry\SemConvCode
public const MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count';