Skip to content

Commit 096596b

Browse files
stebetlmolkova
andauthored
Adding messaging.rabbitmq.message.delivery_tag to the list of RabbitMQ specific tags (open-telemetry#433)
Co-authored-by: Liudmila Molkova <[email protected]>
1 parent 1e7bb0e commit 096596b

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.chloggen/433.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
change_type: enhancement
2+
component: messaging
3+
note: Add `messaging.rabbitmq.message.delivery_tag`` to the list of RabbitMQ specific tags
4+
issues: [433]

docs/attributes-registry/messaging.md

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ size should be used.
106106
| Attribute | Type | Description | Examples |
107107
|---|---|---|---|
108108
| `messaging.rabbitmq.destination.routing_key` | string | RabbitMQ message routing key. | `myKey` |
109+
| `messaging.rabbitmq.message.delivery_tag` | int | RabbitMQ message delivery tag | `123` |
109110
<!-- endsemconv -->
110111

111112
## RocketMQ Attributes

docs/messaging/rabbitmq.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ In RabbitMQ, the destination is defined by an *exchange* and a *routing key*.
2121
| Attribute | Type | Description | Examples | Requirement Level |
2222
|---|---|---|---|---|
2323
| [`messaging.rabbitmq.destination.routing_key`](../attributes-registry/messaging.md) | string | RabbitMQ message routing key. | `myKey` | Conditionally Required: If not empty. |
24+
| [`messaging.rabbitmq.message.delivery_tag`](../attributes-registry/messaging.md) | int | RabbitMQ message delivery tag | `123` | Conditionally Required: When available. |
2425
<!-- endsemconv -->
2526

2627
[DocumentStatus]: https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/document-status.md

model/registry/messaging.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ groups:
156156
RabbitMQ message routing key.
157157
examples: 'myKey'
158158
tag: tech-specific-rabbitmq
159+
- id: rabbitmq.message.delivery_tag
160+
type: int
161+
brief: >
162+
RabbitMQ message delivery tag
163+
examples: 123
164+
tag: tech-specific-rabbitmq
165+
159166
- id: rocketmq.client_group
160167
type: string
161168
brief: >

model/trace/messaging.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ groups:
102102
requirement_level:
103103
conditionally_required: If not empty.
104104
tag: tech-specific-rabbitmq
105+
- ref: messaging.rabbitmq.message.delivery_tag
106+
requirement_level:
107+
conditionally_required: When available.
108+
tag: tech-specific-rabbitmq
105109

106110
- id: messaging.kafka
107111
type: attribute_group

0 commit comments

Comments
 (0)