From 1d2bc954a083d705c4182d2770855699967d4ee1 Mon Sep 17 00:00:00 2001 From: Daesgar Date: Tue, 26 Nov 2024 13:04:56 +0100 Subject: [PATCH] fix: clickhouse_errors_count query for 24.8 (#26416) --- posthog/tasks/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/tasks/tasks.py b/posthog/tasks/tasks.py index f1adbabb7e2c2..a7e291707914d 100644 --- a/posthog/tasks/tasks.py +++ b/posthog/tasks/tasks.py @@ -409,7 +409,7 @@ def clickhouse_errors_count() -> None: name, value as errors, dateDiff('minute', last_error_time, now()) minutes_ago - from clusterAllReplicas(%(cluster)s, system, errors) + from clusterAllReplicas(%(cluster)s, system.errors) where code in (999, 225, 242) order by minutes_ago """