Skip to content

First-class support for Django tasks #8178

Open

Description

@sentrivana

With django/django#22123, Django tasks will carry JSON-serializable data around in the form of metadata.

We could use this for trace propagation. Check how this would play with us instrumenting the underlying backend, to make sure there are no clashes.

Activity

  1. linear-code commented on Nov 3, 2026

    @linear-code
  2. Tirth00000 commented on Nov 8, 2026

    @Tirth00000

    Hi @sentrivana, I’m a student working on a course contribution where an accepted open-source PR earns 10% of my course grade. I’d like to help with this issue. I noticed the upstream Django change (#22123) is still open; before coding, could you confirm whether you welcome an outside contributor and whether you want this integration started now or after that API lands?

    A possible focused scope is to propagate Sentry trace context through Django task metadata and restore it when the task runs, with tests covering trace continuity and interaction with the instrumented task backend. If that direction fits, could you clarify the Django versions/backends to target and whether a PR meeting the agreed scope and review checks would be considered for acceptance? I understand the final decision is yours and will wait for your guidance before starting. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions