Semantic Conventions for RabbitMQ

Status: Experimental

The Semantic Conventions for RabbitMQ extend and override the Messaging Semantic Conventions that describe common messaging operations attributes in addition to the Semantic Conventions described on this page.

messaging.system MUST be set to "rabbitmq".

RabbitMQ attributes

In RabbitMQ, the destination is defined by an exchange and a routing key. messaging.destination.name MUST be set to the name of the exchange. This will be an empty string if the default exchange is used.

AttributeTypeDescriptionExamplesRequirement LevelStability
messaging.rabbitmq.destination.routing_keystringRabbitMQ message routing key.myKeyConditionally Required If not empty.Experimental
messaging.rabbitmq.message.delivery_tagintRabbitMQ message delivery tag123Conditionally Required When available.Experimental
network.peer.addressstringPeer address of the messaging intermediary node where the operation was performed. [1]10.1.2.80; /tmp/my.sockRecommendedStable
network.peer.portintPeer port of the messaging intermediary node where the operation was performed.65123RecommendedStable

[1]: If an operation involved multiple network calls (for example retries), the address of the last contacted node SHOULD be used.