monitoring: alert on billing reconcile manual-review lines #510
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#510
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
The billing service logs
[reconcile] <id> is paid at the provider with no settled local charge; needs manual reviewwhen 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.