Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add observability celery queue (#9886)

Przemysław Łada6d99e5ccf753
diff --git a/saleor/settings.py b/saleor/settings.py
index a5a822a63b..cf51d2478f 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -513,6 +513,14 @@ CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
CELERY_RESULT_BACKEND = os.environ.get("CELERY_RESULT_BACKEND", None)
+CELERY_TASK_ROUTES = {
+ "saleor.plugins.webhook.tasks.observability_reporter_task": {
+ "queue": "observability"
+ },
+ "saleor.plugins.webhook.tasks.observability_send_events": {
+ "queue": "observability"
+ },
+}
CELERY_BEAT_SCHEDULE = {
"delete-empty-allocations": {