integer Scrub: Manual Visibility: Public OTel: True
The number of messages sent, received, or processed in the scope of the batching operation.
Changelog
v0.6.0 #341 Added messaging.batch.message_count attribute
Raw JSON
Copy {
"key": "messaging.batch.message_count",
"brief": "The number of messages sent, received, or processed in the scope of the batching operation.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": 10,
"changelog": [
{
"version": "0.6.0",
"prs": [
341
],
"description": "Added messaging.batch.message_count attribute"
}
]
} string Scrub: Manual Visibility: Public OTel: False
The message destination connection.
Changelog
Raw JSON
Copy {
"key": "messaging.destination.connection",
"brief": "The message destination connection.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"example": "BestTopic",
"changelog": [
{
"version": "0.1.0",
"prs": [
127
]
},
{
"version": "0.0.0"
}
]
} string Scrub: Manual Visibility: Public OTel: True
The message destination name.
Changelog
v0.16.0 #482 Added messaging.destination as an alias v0.0.0
Raw JSON
Copy {
"key": "messaging.destination.name",
"brief": "The message destination name.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "BestTopic",
"alias": [
"messaging.destination"
],
"changelog": [
{
"version": "0.16.0",
"prs": [
482
],
"description": "Added messaging.destination as an alias"
},
{
"version": "0.1.0",
"prs": [
127
]
},
{
"version": "0.0.0"
}
]
} string Scrub: Manual Visibility: Public OTel: True
The identifier of the partition messages are sent to or received from, unique within the messaging.destination.name.
Changelog
next #474 Added messaging.destination.partition.id attribute
Raw JSON
Copy {
"key": "messaging.destination.partition.id",
"brief": "The identifier of the partition messages are sent to or received from, unique within the messaging.destination.name.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "1",
"changelog": [
{
"version": "next",
"prs": [
474
],
"description": "Added messaging.destination.partition.id attribute"
}
]
} string Scrub: Manual Visibility: Public OTel: True
Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from messaging.message.id in that they're not unique. If the key is null, the attribute MUST NOT be set.
Changelog
next #474 Added messaging.kafka.message.key attribute
Raw JSON
Copy {
"key": "messaging.kafka.message.key",
"brief": "Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from messaging.message.id in that they're not unique. If the key is null, the attribute MUST NOT be set.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "myKey",
"changelog": [
{
"version": "next",
"prs": [
474
],
"description": "Added messaging.kafka.message.key attribute"
}
]
} boolean Scrub: Manual Visibility: Public OTel: True
A boolean that is true if the message is a tombstone.
Changelog
next #474 Added messaging.kafka.message.tombstone attribute
Raw JSON
Copy {
"key": "messaging.kafka.message.tombstone",
"brief": "A boolean that is true if the message is a tombstone.",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": true,
"changelog": [
{
"version": "next",
"prs": [
474
],
"description": "Added messaging.kafka.message.tombstone attribute"
}
]
} integer Scrub: Manual Visibility: Public OTel: True
The offset of a record in the corresponding Kafka partition.
Changelog
next #474 Added messaging.kafka.offset attribute
Raw JSON
Copy {
"key": "messaging.kafka.offset",
"brief": "The offset of a record in the corresponding Kafka partition.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": 42,
"changelog": [
{
"version": "next",
"prs": [
474
],
"description": "Added messaging.kafka.offset attribute"
}
]
} integer Scrub: Manual Visibility: Public OTel: True
The size of the message body in bytes.
Changelog
Raw JSON
Copy {
"key": "messaging.message.body.size",
"brief": "The size of the message body in bytes.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": 839,
"changelog": [
{
"version": "0.4.0",
"prs": [
228
]
},
{
"version": "0.0.0"
}
]
} string Scrub: Manual Visibility: Public OTel: True
The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID".
Changelog
v0.16.0 #468 Added messaging.message.conversation_id attribute
Raw JSON
Copy {
"key": "messaging.message.conversation_id",
"brief": "The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called \"Correlation ID\".",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "MyConversationId",
"changelog": [
{
"version": "0.16.0",
"prs": [
468
],
"description": "Added messaging.message.conversation_id attribute"
}
]
} integer Scrub: Manual Visibility: Public OTel: True
The size of the message body and metadata in bytes.
Changelog
Raw JSON
Copy {
"key": "messaging.message.envelope.size",
"brief": "The size of the message body and metadata in bytes.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": 1045,
"changelog": [
{
"version": "0.4.0",
"prs": [
228
]
},
{
"version": "0.0.0"
}
]
} string Scrub: Manual Visibility: Public OTel: True
A value used by the messaging system as an identifier for the message, represented as a string.
Example f47ac10b58cc4372a5670e02b2c3d479
Changelog
Raw JSON
Copy {
"key": "messaging.message.id",
"brief": "A value used by the messaging system as an identifier for the message, represented as a string.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "f47ac10b58cc4372a5670e02b2c3d479",
"changelog": [
{
"version": "0.1.0",
"prs": [
127
]
},
{
"version": "0.0.0"
}
]
} integer Scrub: Manual Visibility: Public OTel: False
The latency between when the message was published and received.
Changelog
Raw JSON
Copy {
"key": "messaging.message.receive.latency",
"brief": "The latency between when the message was published and received.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"example": 1732847252,
"changelog": [
{
"version": "0.4.0",
"prs": [
228
]
},
{
"version": "0.0.0"
}
]
} integer Scrub: Manual Visibility: Public OTel: False
The amount of attempts to send the message.
Changelog
Raw JSON
Copy {
"key": "messaging.message.retry.count",
"brief": "The amount of attempts to send the message.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"example": 2,
"changelog": [
{
"version": "0.4.0",
"prs": [
228
]
},
{
"version": "0.0.0"
}
]
} string Scrub: Manual Visibility: Public OTel: True
The name of the messaging operation being performed
Changelog
v0.11.0 #392 Added messaging.operation.name attribute
Raw JSON
Copy {
"key": "messaging.operation.name",
"brief": "The name of the messaging operation being performed",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "send",
"changelog": [
{
"version": "0.11.0",
"prs": [
392
],
"description": "Added messaging.operation.name attribute"
}
]
} string Scrub: Manual Visibility: Public OTel: True
A string identifying the type of the messaging operation
Changelog
Raw JSON
Copy {
"key": "messaging.operation.type",
"brief": "A string identifying the type of the messaging operation",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "create",
"changelog": [
{
"version": "0.1.0",
"prs": [
51,
127
]
}
]
} string Scrub: Manual Visibility: Public OTel: True
RabbitMQ message routing key.
Changelog
v0.16.0 #468 Added messaging.rabbitmq.destination.routing_key attribute
Raw JSON
Copy {
"key": "messaging.rabbitmq.destination.routing_key",
"brief": "RabbitMQ message routing key.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "myKey",
"changelog": [
{
"version": "0.16.0",
"prs": [
468
],
"description": "Added messaging.rabbitmq.destination.routing_key attribute"
}
]
} string Scrub: Manual Visibility: Public OTel: True
The messaging system as identified by the client instrumentation.
Changelog
Raw JSON
Copy {
"key": "messaging.system",
"brief": "The messaging system as identified by the client instrumentation.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": "activemq",
"changelog": [
{
"version": "0.1.0",
"prs": [
127
]
},
{
"version": "0.0.0"
}
]
}