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
{{ message }}
Repository navigation
Add queue or topic to Celery transactions/spans #2961
The queue should be sent with the producer span and the consumer transaction according to the Otel Specs. We first need to figure out how to obtain the queue.
### Tasks
- [ ] #2984
- [x] ~`messaging.destination_publish.name`: Queue task is published to originally (medium priority)~ not required per https://develop-git-queue-module.sentry.dev/sdk/performance/modules/queue/
changed the title [-]**queue or topic (`messaging.destination.name`) - not sure where to get this**.[/-][+]queue or topic (`messaging.destination.name`) - not sure where to get this**.[/+]on Apr 10, 2024
changed the title [-]queue or topic (`messaging.destination.name`) - not sure where to get this**.[/-][+]Add queue or topic to Celery transactions/spans[/+]on Apr 10, 2024
Logic for setting data needed to route to correct queue in the producer side. From here, it seems that the producer only sometimes will know the queue; in other cases, the broker determines the queue.
Activity
[-]**queue or topic (`messaging.destination.name`) - not sure where to get this**.[/-][+]queue or topic (`messaging.destination.name`) - not sure where to get this**.[/+][-]queue or topic (`messaging.destination.name`) - not sure where to get this**.[/-][+]Add queue or topic to Celery transactions/spans[/+]szokeasaurusrex commentedon Apr 11, 2024
Logic for setting data needed to route to correct queue in the producer side. From here, it seems that the producer only sometimes will know the queue; in other cases, the broker determines the queue.
https://github.com/celery/celery/blob/481cf8e19ca2b5d34eb74a6954974e9dc92ebda3/celery/app/task.py#L622-L645
The question, therefore, is whether we can determine the queue on the consumer side.
feat(celery): Send queue name to sentry_sdk
feat(celery): Send queue name to sentry_sdk
feat(celery): Send queue name to sentry_sdk
feat(celery): Send queue name to Sentry
feat(celery): Send queue name to Sentry
feat: Send Celery retry count
feat: Send Celery retry count
feat: Send Celery retry count
feat: Send Celery retry count
feat(celery): Send queue name to Sentry
feat: Send Celery retry count
feat(celery): Send queue name to Sentry
feat: Send Celery retry count
feat(celery): Send queue name to Sentry
ref(celery): MESSAGNING_DESTINATION_NAME constant
feat: Send Celery retry count
feat(celery): Send queue name to Sentry
feat: Send Celery retry count