Python
fromStreamHacker
10 hours agoMonitoring Celery Tasks with Sentry
Initialize Sentry before Celery tasks start, use CeleryIntegration, flush on shutdown, and wrap periodic tasks with sentry_sdk.monitor for reliable monitoring, especially with async tasks.