monitoring: alert on billing reconcile manual-review lines #510

Stängd
öppnade 2026-10-01 18:31:50 +00:00 av supernaut · 0 kommentarer
Ägare

Problem

The billing service logs [reconcile] <id> is paid at the provider with no settled local charge; needs manual review when a paid provider payment cannot be matched or repaired. Nothing alerts on it. The line is logged once per payment, so a missed alert means a paying customer without access, or a charge with no record.

Fix

Add a Loki alert rule on that line for the billing service container. Route it to the normal operator channel. Prove it with a negative control and a synthetic line, as with the other log alerts.

Done when

A matching line in Loki fires the alert within one evaluation interval. The runbook "Billing service" section names the alert and the manual review step.

## Problem The billing service logs `[reconcile] <id> is paid at the provider with no settled local charge; needs manual review` when a paid provider payment cannot be matched or repaired. Nothing alerts on it. The line is logged once per payment, so a missed alert means a paying customer without access, or a charge with no record. ## Fix Add a Loki alert rule on that line for the billing service container. Route it to the normal operator channel. Prove it with a negative control and a synthetic line, as with the other log alerts. ## Done when A matching line in Loki fires the alert within one evaluation interval. The runbook "Billing service" section names the alert and the manual review step.
Logga in för att delta i denna konversation.
Ingen milstolpe
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#510
Ingen beskrivning angiven.