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
+7
Original file line number
Diff line number
Diff line change
@@ -301,11 +301,18 @@ Specific attributes for Apache RocketMQ are defined below.
301
301
|`messaging.rocketmq.namespace`| string | Namespace of RocketMQ resources, resources in different namespaces are individual. |`myNamespace`| Required |
302
302
|`messaging.rocketmq.client_group`| string | Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. |`myConsumerGroup`| Required |
303
303
|`messaging.rocketmq.client_id`| string | The unique identifier for each client. |`myhost@8742@s8083jm`| Required |
304
+
|`messaging.rocketmq.delivery_timestamp`| int | The timestamp in milliseconds that the delay message is expected to be delivered to consumer. |`1665987217045`| Conditionally Required: [1]|
305
+
|`messaging.rocketmq.delay_time_level`| int | The delay time level for delay message, which determines the message delay time. |`3`| Conditionally Required: [2]|
306
+
|`messaging.rocketmq.message_group`| string | It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. |`myMessageGroup`| Conditionally Required: If the message type is FIFO. |
304
307
|`messaging.rocketmq.message_type`| string | Type of message. |`normal`| Recommended |
305
308
|`messaging.rocketmq.message_tag`| string | The secondary classifier of message besides topic. |`tagA`| Recommended |
306
309
|`messaging.rocketmq.message_keys`| string[]| Key(s) of message, another way to mark message besides message id. |`[keyA, keyB]`| Recommended |
307
310
|`messaging.rocketmq.consumption_model`| string | Model of message consumption. This only applies to consumer spans. |`clustering`| Recommended |
308
311
312
+
**[1]:** If the message type is delay and delay time level is not specified.
313
+
314
+
**[2]:** If the message type is delay and delivery timestamp is not specified.
315
+
309
316
`messaging.rocketmq.message_type` MUST be one of the following:
0 commit comments