From ff100341cc936eb8cd57955bd40d09ac1aba47a6 Mon Sep 17 00:00:00 2001 From: Jerry Feng Date: Mon, 28 Aug 2023 12:44:38 -0400 Subject: [PATCH] feat: Add cron monitoring for celery tasks (#362) --- helpers/sentry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/sentry.py b/helpers/sentry.py index c47955d82..84b824c48 100644 --- a/helpers/sentry.py +++ b/helpers/sentry.py @@ -34,7 +34,7 @@ def initialize_sentry() -> None: environment=os.getenv("DD_ENV", "production"), traces_sample_rate=float(os.environ.get("SERVICES__SENTRY__SAMPLE_RATE", 1)), integrations=[ - CeleryIntegration(), + CeleryIntegration(monitor_beat_tasks=True), SqlalchemyIntegration(), RedisIntegration(), HttpxIntegration(),