You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/trace/semantic_conventions/messaging.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ The following operations related to messages are defined for these semantic conv
193
193
|---|---|---|---|---|
194
194
|`messaging.system`| string | A string identifying the messaging system. |`kafka`; `rabbitmq`; `rocketmq`; `activemq`; `AmazonSQS`| Required |
195
195
|`messaging.operation`| string | A string identifying the kind of messaging operation as defined in the [Operation names](#operation-names) section above. [1]|`publish`| Required |
196
-
|`messaging.batch.size`| int | The number of messages sent, received, or processed in the scope of the batching operation. [2]|`0`; `1`; `2`| Conditionally Required: [3]|
196
+
|`messaging.batch.message_count`| int | The number of messages sent, received, or processed in the scope of the batching operation. [2]|`0`; `1`; `2`| Conditionally Required: [3]|
197
197
|`messaging.message.conversation_id`| string | The [conversation ID](#conversations) identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". |`MyConversationId`| Recommended: [4]|
198
198
|`messaging.message.id`| string | A value used by the messaging system as an identifier for the message, represented as a string. |`452a7c7c7c7048c2f887f61572b18fc2`| Recommended: [5]|
199
199
|`messaging.message.payload_compressed_size_bytes`| int | The compressed size of the message payload in bytes. |`2048`| Recommended: [6]|
@@ -208,7 +208,7 @@ The following operations related to messages are defined for these semantic conv
208
208
209
209
**[1]:** If a custom value is used, it MUST known to be of low cardinality.
210
210
211
-
**[2]:** Instrumentations SHOULD NOT set `messaging.batch.size` on spans that operate with a single message. When client library supports batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.size` for batching APIs and SHOULD NOT use it for single-message APIs.
211
+
**[2]:** Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When client library supports 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.
212
212
213
213
**[3]:** If the span describes operation on a batch of messages.
0 commit comments