Django + Celery beat (cron) capture #4377
Unanswered
RemiDesgrange
asked this question in
Q&A
Replies: 1 comment
-
Yes ✅ you need to initialize Sentry separately in the Celery Beat process 🕒 since it runs independently. Without that, beat tasks won’t be tracked in Sentry 📉. Just init Sentry in your beat script and you're good to go 🚀 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
I have a sentry-sdk 2.25 on a python project with django + celery.
I have set up sentry sdk in
<myapp>/settings.py
like:Error capturing works like a charm on my celery instances, but the "cron" stays empty. Do I need to re-init the sentry SDK like the doc says:
And if so, can I know why?
Thx 🙏
Beta Was this translation helpful? Give feedback.
All reactions