Skip to content

Add queue or topic to Celery transactions/spans #2961

Closed

Description

@szokeasaurusrex

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/

Activity

  1. 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
  2. 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
  3. szokeasaurusrex commented on Apr 11, 2024

    @szokeasaurusrex
    MemberAuthor

    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.

  4. added a commit that references this issue on May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions