feat(metrics): report each first-party owner's quota group #115
Inga granskare
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
priority
high
priority
low
priority
medium
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-auth-reconciler!115
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/first-party-quota-gauge"
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?
What
Add
bitborg_reconciler_first_party_quota_group_ok{owner,expected,actual}.One series per exempt user or org that exists in Forgejo. 1 means the owner is in
org-unlimited, 0 means it is not.actuallists the groups it is in, ornone. Tenants emit no series.How
After the writes the reconciler re-reads quota group membership, so the gauge shows Forgejo's state and not the plan. Owner names are matched with
ownerKey. Exempt names with no Forgejo account are skipped, so a stale name does not read as a missing owner. Dry runs emit nothing. An aborted run keeps the last series.The consumer is the
FirstPartyQuotaGroupWrongalert in bitborg-infra.No version bump or tag in this PR.
Refs bitborg/bitborg-infra#423
Emit bitborg_reconciler_first_party_quota_group_ok{owner,expected,actual} for every exempt user and org that exists in Forgejo. The value is read back after the writes, so a refused move or a hand-deleted group shows as 0. Tenants emit nothing. An aborted run keeps the last series. Refs bitborg/bitborg-infra#423Visa kommandoradsinstruktioner
Checka ut
Checka ut en ny gren från din projektkatalog och testa ändringarna.