Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(dags): cap query_log_archive export run concurrency (#75992)

Andy Zhaoccd9600d7b6a
diff --git a/posthog/dags/export_query_log_archive_to_s3.py b/posthog/dags/export_query_log_archive_to_s3.py
index 533624fc43b9..ec13d0731389 100644
--- a/posthog/dags/export_query_log_archive_to_s3.py
+++ b/posthog/dags/export_query_log_archive_to_s3.py
@@ -193,7 +193,10 @@ SETTINGS s3_truncate_on_insert = 1, max_threads = {config.max_threads},
resource_defs={
"cluster": OpsClickhouseClusterResource(max_execution_time=2 * 60 * 60, max_memory_usage=20 * ONE_GB)
},
- tags={"owner": JobOwners.TEAM_ANALYTICS_PLATFORM.value},
+ tags={
+ "owner": JobOwners.TEAM_ANALYTICS_PLATFORM.value,
+ "query_log_archive_backfill_concurrency": "query_log_archive_v1",
+ },
)
def export_query_log_archive_to_s3():
export_query_log_archive_day()