feat(monitoring): alert when a first-party owner leaves org-unlimited #930

Öppen
supernaut vill sammanfoga 2 incheckningar från s[2]s in i main
Ägare

What

Add FirstPartyQuotaGroupWrong (critical, 10 min): a first-party owner is not in org-unlimited. The alert names the owner and the group it is in. Tenant orgs have no series, so they cannot fire it.

It reads bitborg_reconciler_first_party_quota_group_ok, emitted by the reconciler (bitborg-auth-reconciler, same change set). New rule group bitborg-quota-groups, a vmalert test, and a runbook section with what to do.

Deploy order

  1. Merge the reconciler PR, then a human cuts the release tag.
  2. Bump bitborg_reconciler_image_tag and apply the reconciler role.
  3. Apply the monitoring role for the rule.

Applying the rule first is harmless but inert: with no series it never fires.

Closes #423

## What Add `FirstPartyQuotaGroupWrong` (critical, 10 min): a first-party owner is not in `org-unlimited`. The alert names the owner and the group it is in. Tenant orgs have no series, so they cannot fire it. It reads `bitborg_reconciler_first_party_quota_group_ok`, emitted by the reconciler (bitborg-auth-reconciler, same change set). New rule group `bitborg-quota-groups`, a vmalert test, and a runbook section with what to do. ## Deploy order 1. Merge the reconciler PR, then a human cuts the release tag. 2. Bump `bitborg_reconciler_image_tag` and apply the `reconciler` role. 3. Apply the `monitoring` role for the rule. Applying the rule first is harmless but inert: with no series it never fires. Closes #423
supernaut lade till 2 incheckningar 2026-11-30 09:06:02 +00:00
Add FirstPartyQuotaGroupWrong on the reconciler's
bitborg_reconciler_first_party_quota_group_ok gauge. The alert names the
owner and the group it is in. Tenants have no series, so they cannot fire it.
Add a vmalert test and a runbook section.

Needs a reconciler image that emits the gauge.

Closes #423
docs(monitoring): fix the first-party quota alert wording
Alla kontroller lyckades
ci / ci (pull_request) Successful in 20m3s
1e442d942c
Alla kontroller lyckades
ci / ci (pull_request) Successful in 20m3s
Obligatorisk
Detaljer
Den här ändringsförfrågningen har ändringar som är i konflikt med målgrenen.
  • ansible/roles/monitoring/templates/alert-rules.yml.j2
  • ansible/roles/monitoring/tests/alert-rules.test.yml
Visa kommandoradsinstruktioner

Manuell sammanfogningshjälp

Använd detta sammanfogningsmeddelande när sammanfogningen slutförs manuellt.

Checka ut

Checka ut en ny gren från din projektkatalog och testa ändringarna.
git fetch -u origin 'feat/quota-group-alert:feat/quota-group-alert'
git switch 'feat/quota-group-alert'
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!930
Ingen beskrivning angiven.