fix: Modify task to query wider range of data for e2e lag (#41510)

This commit is contained in:
Ben White
2025-11-14 10:40:57 +01:00
committed by GitHub
parent 278638b05e
commit 4c2cbe272e

View File

@@ -235,7 +235,7 @@ def ingestion_lag() -> None:
FROM events
WHERE team_id IN %(team_ids)s
AND event IN %(events)s
AND timestamp > yesterday() AND timestamp < now() + toIntervalMinute(3)
AND timestamp > now() - interval 72 hours AND timestamp < now() + toIntervalMinute(3)
GROUP BY event
"""