fix: delete analytics logs older than 2 days and give vector a 512 MiB cap #9

Merged
igor merged 1 commits from fix/log-retention-vector-512 into main 2026-10-06 17:28:48 +00:00
Owner
No description provided.
igor added 1 commit 2026-10-06 17:28:41 +00:00
- every instance gets a pg_cron job (set up on create, upgrade and resume)
  that deletes _analytics.log_events_* rows older than 2 days and runs the
  first cleanup right away; Logflare never deletes stored logs, and instance
  3's 2 GB db image died 100% full of them on 2026-10-06, after which
  analytics 500'd every delivery and vector was OOM-killed by its
  undeliverable backlog every few minutes
- vector's memory limit back to 512 MiB, the ceiling the production
  supabase charts carry; the retention job bounds its backlog, so 1024 MiB
  is not needed anymore
- version 1.3.2
igor merged commit ea3b705008 into main 2026-10-06 17:28:48 +00:00
igor deleted branch fix/log-retention-vector-512 2026-10-06 17:28:48 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: public/supaspin#9