fix(monitoring): goatcounter age parsing and the renewal reminder window #747

Sammanfogat
supernaut sammanfogade 2 incheckningar från fix/goatcounter-age-parse in i main 2026-10-14 14:14:30 +00:00
Ägare

Two monitoring fixes found right after the #739 and #743 applies.

  • GoatCounter retention: goatcounter db query ends its output with an empty line, so tail -n 1 read nothing and every run failed with unexpected age:. The script now takes the last non-empty line. Its three alerts showed as VacuousAlertRule because no metric existed yet.
  • RenewalRemindersSilent: the portal runs reminders every 6 hours (and a minute after each start), but the alert expected a result line within 3 hours, so it fired between runs. The window is now 7 hours; the summary and runbook say so.

Apply: --limit bitborg-monitoring --tags monitoring, then start bitborg-goatcounter-retention.service once.

Two monitoring fixes found right after the #739 and #743 applies. - GoatCounter retention: `goatcounter db query` ends its output with an empty line, so `tail -n 1` read nothing and every run failed with `unexpected age:`. The script now takes the last non-empty line. Its three alerts showed as `VacuousAlertRule` because no metric existed yet. - `RenewalRemindersSilent`: the portal runs reminders every 6 hours (and a minute after each start), but the alert expected a result line within 3 hours, so it fired between runs. The window is now 7 hours; the summary and runbook say so. Apply: `--limit bitborg-monitoring --tags monitoring`, then start `bitborg-goatcounter-retention.service` once.
supernaut lade till 2 incheckningar 2026-10-14 14:10:56 +00:00
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-14 14:11:09 +00:00
supernaut sammanfogade incheckning eace0ecfc5 till main 2026-10-14 14:14:30 +00:00
supernaut tog bort grenen fix/goatcounter-age-parse 2026-10-14 14:14:30 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!747
Ingen beskrivning angiven.