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(batch-exports): widen hourly batch export sla to 4 hours (#113110)

Ross598a7f6c4f77
diff --git a/products/batch_exports/backend/temporal/metrics.py b/products/batch_exports/backend/temporal/metrics.py
index 49edab1d36e7..9f2f982f28a9 100644
--- a/products/batch_exports/backend/temporal/metrics.py
+++ b/products/batch_exports/backend/temporal/metrics.py
@@ -506,7 +506,7 @@ def get_sla_from_interval(
# Hourly batch exports get a wider SLA than their interval because enough runs
# take longer than an hour that a one hour SLA only produces alert noise.
# TODO: Set this back to one hour once hourly runs are fast enough to meet it.
- return dt.timedelta(hours=3)
+ return dt.timedelta(hours=4)
case "day":
return dt.timedelta(days=1)
case "week":