Skip to content

Celery app.send_task() doesn't propagate trace #2372

Closed
@divaltor

Description

@divaltor

How do you use Sentry?

Self-hosted/on-premise

Version

1.30.0

Steps to Reproduce

I execute tasks via app.send_task(<task_name>, kwarsg={...}) (where app is Celery() instance) because it's simpler for me and my case (I have a lot of circular errors if use tasks directly) and it seems that Sentry doesn't wrap this method hence there is no attached trace for tasks

Expected Result

I see every trace starting from front-end -> back-end -> queue tasks

Actual Result

image

Metadata

Metadata

Labels

Type

No type

Projects

Status

Waiting for: Product Owner

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions