integerScrub: Manual Visibility: Public OTel: True
The number of messages sent, received, or processed in the scope of the batching operation.
Changelogv0.6.0 #341 Added messaging.batch.message_count attribute Raw JSONCopy {
"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"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The name of the root job of the BullMQ flow that FlowProducer.add() adds.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.flow.name attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.flow.name attribute Raw JSONCopy {
"key": "messaging.bullmq.flow.name",
"brief": "The name of the root job of the BullMQ flow that FlowProducer.add() adds.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"build-report"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.flow.name` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.flow.name attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The time in milliseconds since the Unix epoch when the current attempt of the BullMQ job finished.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.attempt_finished_timestamp attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.attempt_finished_timestamp attribute Raw JSONCopy {
"key": "messaging.bullmq.job.attempt_finished_timestamp",
"brief": "The time in milliseconds since the Unix epoch when the current attempt of the BullMQ job finished.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
1791184722406
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.attempt_finished_timestamp` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.attempt_finished_timestamp attribute"
}
]
}string[]Scrub: Manual Visibility: Public OTel: False
The names of the BullMQ jobs or flows that one bulk operation adds, for example Queue.addBulk().
Examples ["send-welcome-email","generate-report"]
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.bulk.names attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.bulk.names attribute Raw JSONCopy {
"key": "messaging.bullmq.job.bulk.names",
"brief": "The names of the BullMQ jobs or flows that one bulk operation adds, for example Queue.addBulk().",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
[
"send-welcome-email",
"generate-report"
]
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.bulk.names` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.bulk.names attribute"
}
]
}stringScrub: Auto Visibility: Public OTel: False
The deduplication ID that Queue.removeDeduplicationKey() removes.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.deduplication.key attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.deduplication.key attribute Raw JSONCopy {
"key": "messaging.bullmq.job.deduplication.key",
"brief": "The deduplication ID that Queue.removeDeduplicationKey() removes.",
"type": "string",
"apply_scrubbing": {
"key": "auto"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"user-42-sync"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.deduplication.key` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.deduplication.key attribute"
}
]
}string[]Scrub: Manual Visibility: Public OTel: False
The IDs of the BullMQ jobs that Queue.clean() removed.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.ids attribute of BullMQ's telemetry interface. BullMQ 5.79.1 sets this attribute. BullMQ 6.3.11 does not. Changelogv0.28.0 #690 Added messaging.bullmq.job.ids attribute Raw JSONCopy {
"key": "messaging.bullmq.job.ids",
"brief": "The IDs of the BullMQ jobs that Queue.clean() removed.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
[
"1",
"2",
"3"
]
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.ids` attribute of BullMQ's telemetry interface.",
"BullMQ 5.79.1 sets this attribute. BullMQ 6.3.11 does not."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.ids attribute"
}
]
}stringScrub: Auto Visibility: Public OTel: False
The key that a BullMQ remove operation for a debounce or repeatable key gets, for example Queue.removeDebounceKey().
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.key attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.key attribute Raw JSONCopy {
"key": "messaging.bullmq.job.key",
"brief": "The key that a BullMQ remove operation for a debounce or repeatable key gets, for example Queue.removeDebounceKey().",
"type": "string",
"apply_scrubbing": {
"key": "auto"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"user-42-sync"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.key` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.key attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The name of the BullMQ job, which the user passes to Queue.add() to identify the kind of work.
Examples send-welcome-emailgenerate-report
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.name attribute of BullMQ's telemetry interface. Also set on the BullMQ job metrics. Changelogv0.28.0 #690 Added messaging.bullmq.job.name attribute Raw JSONCopy {
"key": "messaging.bullmq.job.name",
"brief": "The name of the BullMQ job, which the user passes to Queue.add() to identify the kind of work.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"send-welcome-email",
"generate-report"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.name` attribute of BullMQ's telemetry interface.",
"Also set on the BullMQ job metrics."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.name attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The time in milliseconds since the Unix epoch when the Worker started to process the BullMQ job.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.processed.timestamp attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.processed_timestamp attribute Raw JSONCopy {
"key": "messaging.bullmq.job.processed_timestamp",
"brief": "The time in milliseconds since the Unix epoch when the Worker started to process the BullMQ job.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
1791184722281
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.processed.timestamp` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.processed_timestamp attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The ID of the BullMQ job scheduler that adds the job.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.scheduler.id attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.scheduler.id attribute Raw JSONCopy {
"key": "messaging.bullmq.job.scheduler.id",
"brief": "The ID of the BullMQ job scheduler that adds the job.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"daily-report"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.scheduler.id` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.scheduler.id attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The state of the BullMQ job that a job metric counts.
Examples completedfaileddelayed
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.state attribute of BullMQ's telemetry interface. BullMQ before 5.81.2 sets bullmq.job.status instead, and the SDK then uses that value. Changelogv0.28.0 #690 Added messaging.bullmq.job.state attribute Raw JSONCopy {
"key": "messaging.bullmq.job.state",
"brief": "The state of the BullMQ job that a job metric counts.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"completed",
"failed",
"delayed"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.state` attribute of BullMQ's telemetry interface. BullMQ before 5.81.2 sets `bullmq.job.status` instead, and the SDK then uses that value."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.state attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The job state from which Queue.clean() removes BullMQ jobs.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.job.type attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.job.type attribute Raw JSONCopy {
"key": "messaging.bullmq.job.type",
"brief": "The job state from which Queue.clean() removes BullMQ jobs.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"completed",
"failed"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.job.type` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.job.type attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The number of BullMQ jobs that Queue.clean() removed.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.clean.count attribute of BullMQ's telemetry interface. BullMQ 6.3.11 sets this attribute. BullMQ 5.79.1 does not. Changelogv0.28.0 #690 Added messaging.bullmq.queue.clean.count attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.clean.count",
"brief": "The number of BullMQ jobs that Queue.clean() removed.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
25
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.clean.count` attribute of BullMQ's telemetry interface.",
"BullMQ 6.3.11 sets this attribute. BullMQ 5.79.1 does not."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.clean.count attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The maximum number of BullMQ jobs that Queue.clean() removes.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.clean.limit attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.queue.clean.limit attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.clean.limit",
"brief": "The maximum number of BullMQ jobs that Queue.clean() removes.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
1000
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.clean.limit` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.clean.limit attribute"
}
]
}booleanScrub: Manual Visibility: Public OTel: False
Whether Queue.drain() also removes the delayed BullMQ jobs.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.drain.delay attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.queue.drain.delay attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.drain.delay",
"brief": "Whether Queue.drain() also removes the delayed BullMQ jobs.",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
true
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.drain.delay` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.drain.delay attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The maximum number of events that Queue.trimEvents() keeps in the BullMQ event stream.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.event.max.length attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.queue.event.max_length attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.event.max_length",
"brief": "The maximum number of events that Queue.trimEvents() keeps in the BullMQ event stream.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
10000
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.event.max.length` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.event.max_length attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The grace period in milliseconds that Queue.clean() uses. Only BullMQ jobs that are older are removed.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.grace attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.queue.grace attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.grace",
"brief": "The grace period in milliseconds that Queue.clean() uses. Only BullMQ jobs that are older are removed.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
60000
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.grace` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.grace attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The BullMQ job state that the queue job count metric counts.
Examples waitingactivecompleted
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.jobs.state attribute of BullMQ's telemetry interface. Set on the BullMQ queue job count metric. Changelogv0.28.0 #690 Added messaging.bullmq.queue.jobs.state attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.jobs.state",
"brief": "The BullMQ job state that the queue job count metric counts.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"waiting",
"active",
"completed"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.jobs.state` attribute of BullMQ's telemetry interface.",
"Set on the BullMQ queue job count metric."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.jobs.state attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The time in milliseconds for which Queue.rateLimit() rate-limits the BullMQ queue.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.queue.rate.limit attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.queue.rate_limit attribute Raw JSONCopy {
"key": "messaging.bullmq.queue.rate_limit",
"brief": "The time in milliseconds for which Queue.rateLimit() rate-limits the BullMQ queue.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
5000
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.queue.rate.limit` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.queue.rate_limit attribute"
}
]
}booleanScrub: Manual Visibility: Public OTel: False
Whether Worker.pause() returns without waiting for the active BullMQ jobs to finish.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.worker.do.not.wait.active attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.worker.do_not_wait_active attribute Raw JSONCopy {
"key": "messaging.bullmq.worker.do_not_wait_active",
"brief": "Whether Worker.pause() returns without waiting for the active BullMQ jobs to finish.",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
false
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.worker.do.not.wait.active` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.worker.do_not_wait_active attribute"
}
]
}booleanScrub: Manual Visibility: Public OTel: False
Whether Worker.close() closes the Worker without waiting for the active BullMQ jobs to finish.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.worker.force.close attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.worker.force_close attribute Raw JSONCopy {
"key": "messaging.bullmq.worker.force_close",
"brief": "Whether Worker.close() closes the Worker without waiting for the active BullMQ jobs to finish.",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
false
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.worker.force.close` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.worker.force_close attribute"
}
]
}string[]Scrub: Manual Visibility: Public OTel: False
The IDs of the BullMQ jobs whose locks the Worker extends.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.worker.jobs.to.extend.locks attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.worker.jobs_to_extend_locks attribute Raw JSONCopy {
"key": "messaging.bullmq.worker.jobs_to_extend_locks",
"brief": "The IDs of the BullMQ jobs whose locks the Worker extends.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
[
"1",
"2"
]
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.worker.jobs.to.extend.locks` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.worker.jobs_to_extend_locks attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The name that the user gives to the BullMQ Worker in its options.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.worker.name attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.worker.name attribute Raw JSONCopy {
"key": "messaging.bullmq.worker.name",
"brief": "The name that the user gives to the BullMQ Worker in its options.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
"email-worker"
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.worker.name` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.worker.name attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The time in milliseconds for which Worker.rateLimit() rate-limits the BullMQ Worker.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.worker.rate.limit attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.worker.rate_limit attribute Raw JSONCopy {
"key": "messaging.bullmq.worker.rate_limit",
"brief": "The time in milliseconds for which Worker.rateLimit() rate-limits the BullMQ Worker.",
"type": "integer",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
5000
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.worker.rate.limit` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.worker.rate_limit attribute"
}
]
}string[]Scrub: Manual Visibility: Public OTel: False
The IDs of the stalled BullMQ jobs that the Worker moved back to the wait state.
Additional ContextThe Sentry SDK sets this attribute from the bullmq.worker.stalled.jobs attribute of BullMQ's telemetry interface. Changelogv0.28.0 #690 Added messaging.bullmq.worker.stalled_jobs attribute Raw JSONCopy {
"key": "messaging.bullmq.worker.stalled_jobs",
"brief": "The IDs of the stalled BullMQ jobs that the Worker moved back to the wait state.",
"type": "string[]",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"examples": [
[
"1",
"2"
]
],
"additional_context": [
"The Sentry SDK sets this attribute from the `bullmq.worker.stalled.jobs` attribute of BullMQ's telemetry interface."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.bullmq.worker.stalled_jobs attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: True
A unique identifier for the client that consumes or produces a message.
Examples client-5myhost@8742@s8083jm
Additional ContextThe Sentry SDK sets this attribute on BullMQ spans from the bullmq.worker.id attribute of BullMQ's telemetry interface, which is the ID of the Worker. Changelogv0.28.0 #690 Added messaging.client.id attribute Raw JSONCopy {
"key": "messaging.client.id",
"brief": "A unique identifier for the client that consumes or produces a message.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"examples": [
"client-5",
"myhost@8742@s8083jm"
],
"additional_context": [
"The Sentry SDK sets this attribute on BullMQ spans from the `bullmq.worker.id` attribute of BullMQ's telemetry interface, which is the ID of the Worker."
],
"changelog": [
{
"version": "0.28.0",
"prs": [
690
],
"description": "Added messaging.client.id attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: False
The message destination connection.
Changelog Raw JSONCopy {
"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"
}
]
}stringScrub: Manual Visibility: Public OTel: True
The message destination name.
Changelogv0.16.0 #482 Added messaging.destination as an alias v0.0.0
Raw JSONCopy {
"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"
}
]
}stringScrub: Manual Visibility: Public OTel: True
The identifier of the partition messages are sent to or received from, unique within the messaging.destination.name.
Changelogv0.19.0 #474 Added messaging.destination.partition.id attribute Raw JSONCopy {
"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": "0.19.0",
"prs": [
474
],
"description": "Added messaging.destination.partition.id attribute"
}
]
}stringScrub: 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.
Changelogv0.19.0 #474 Added messaging.kafka.message.key attribute Raw JSONCopy {
"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": "0.19.0",
"prs": [
474
],
"description": "Added messaging.kafka.message.key attribute"
}
]
}booleanScrub: Manual Visibility: Public OTel: True
A boolean that is true if the message is a tombstone.
Changelogv0.19.0 #474 Added messaging.kafka.message.tombstone attribute Raw JSONCopy {
"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": "0.19.0",
"prs": [
474
],
"description": "Added messaging.kafka.message.tombstone attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: True
The offset of a record in the corresponding Kafka partition.
Changelogv0.19.0 #474 Added messaging.kafka.offset attribute Raw JSONCopy {
"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": "0.19.0",
"prs": [
474
],
"description": "Added messaging.kafka.offset attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: True
The size of the message body in bytes.
Example 839
Search Alias
How this attribute is exposed in Sentry search. Query it by this name instead of the attribute key. Name messaging.message.body.size
Type byte
Changelog Raw JSONCopy {
"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,
"search_alias": {
"name": "messaging.message.body.size",
"type": "byte"
},
"changelog": [
{
"version": "0.4.0",
"prs": [
228
]
},
{
"version": "0.0.0"
}
]
}stringScrub: Manual Visibility: Public OTel: True
The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID".
Changelogv0.21.0 #581 Added messaging.conversation_id as an alias v0.16.0 #468 Added messaging.message.conversation_id attribute Raw JSONCopy {
"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",
"alias": [
"messaging.conversation_id"
],
"changelog": [
{
"version": "0.21.0",
"prs": [
581
],
"description": "Added messaging.conversation_id as an alias"
},
{
"version": "0.16.0",
"prs": [
468
],
"description": "Added messaging.message.conversation_id attribute"
}
]
}integerScrub: Manual Visibility: Public OTel: True
The size of the message body and metadata in bytes.
Changelog Raw JSONCopy {
"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"
}
]
}stringScrub: Manual Visibility: Public OTel: True
A value used by the messaging system as an identifier for the message, represented as a string.
Example f47ac10b58cc4372a5670e02b2c3d479
Changelogv0.21.0 #581 Added messaging.message_id as an alias v0.0.0
Raw JSONCopy {
"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",
"alias": [
"messaging.message_id"
],
"changelog": [
{
"version": "0.21.0",
"prs": [
581
],
"description": "Added messaging.message_id as an alias"
},
{
"version": "0.1.0",
"prs": [
127
]
},
{
"version": "0.0.0"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The latency between when the message was published and received.
Example 1732847252
Search Alias
How this attribute is exposed in Sentry search. Query it by this name instead of the attribute key. Name messaging.message.receive.latency
Type millisecond
Changelog Raw JSONCopy {
"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,
"search_alias": {
"name": "messaging.message.receive.latency",
"type": "millisecond"
},
"changelog": [
{
"version": "0.4.0",
"prs": [
228
]
},
{
"version": "0.0.0"
}
]
}integerScrub: Manual Visibility: Public OTel: False
The amount of attempts to send the message.
Changelog Raw JSONCopy {
"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"
}
]
}stringScrub: Manual Visibility: Public OTel: True
The name of the messaging operation being performed
Changelogv0.21.0 #581 Added messaging.operation as an alias v0.11.0 #392 Added messaging.operation.name attribute Raw JSONCopy {
"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",
"alias": [
"messaging.operation"
],
"changelog": [
{
"version": "0.21.0",
"prs": [
581
],
"description": "Added messaging.operation as an alias"
},
{
"version": "0.11.0",
"prs": [
392
],
"description": "Added messaging.operation.name attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: True
A string identifying the type of the messaging operation
Changelog Raw JSONCopy {
"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
]
}
]
}stringScrub: Manual Visibility: Public OTel: True
RabbitMQ message routing key.
Changelogv0.21.0 #581 Added messaging.rabbitmq.routing_key as an alias v0.16.0 #468 Added messaging.rabbitmq.destination.routing_key attribute Raw JSONCopy {
"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",
"alias": [
"messaging.rabbitmq.routing_key"
],
"changelog": [
{
"version": "0.21.0",
"prs": [
581
],
"description": "Added messaging.rabbitmq.routing_key as an alias"
},
{
"version": "0.16.0",
"prs": [
468
],
"description": "Added messaging.rabbitmq.destination.routing_key attribute"
}
]
}stringScrub: Manual Visibility: Public OTel: True
The messaging system as identified by the client instrumentation.
Changelog Raw JSONCopy {
"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"
}
]
}