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(experiments): Raise canary mean quota for metric-events bake-in (#78119)

Juraj Majerik8e7871654326
diff --git a/products/experiments/backend/temporal/models.py b/products/experiments/backend/temporal/models.py
index 8e4f3f2c5c3f..457fe9249a37 100644
--- a/products/experiments/backend/temporal/models.py
+++ b/products/experiments/backend/temporal/models.py
@@ -98,7 +98,10 @@ class ExperimentPrecomputeCanaryInputs:
experiment_id: int | None = None
metric_uuids: list[str] | None = None
funnel_quota: int = 12
- mean_quota: int = 6
+ # Bake-in level for the new mean metric-events precompute path: ~40% of sampled means are
+ # CUPED/breakdown/DW-ineligible and exercise nothing new, so 20 nominal ≈ 12 effective.
+ # Drop back toward ~10 once the mean table has a few clean weeks of canary history.
+ mean_quota: int = 20
ratio_quota: int = 4
per_experiment_cap: int = 3
time_budget_seconds: int = 5400