feat(monitoring): provision runner-health dashboard as code #180
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
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!180
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/monitoring-runners-dashboard"
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
Adds
ansible/roles/monitoring/files/bitborg-runners.jsonso the "bitborg CI runners — health" dashboard (uidbitborg-runners) is provisioned as code rather than living only as an API-created dashboard on the monitoring VM.The monitoring role auto-globs
bitborg-*.json(query('fileglob','bitborg-*.json')) and serves them via a Grafana file provider, so this file is picked up automatically. Deploy with:Details
runner-controllerLoki log panels.${DS_VICTORIAMETRICS}/${DS_LOKI}template vars — copied verbatim frombitborg-overview.json— instead of hardcoded datasource UIDs, matching every otherbitborg-*.jsondashboard. Zero raw datasource UIDs remain in the file.uidset to the readablebitborg-runners(likebitborg-overview), not the random API uid. Grafana wrapper fields (id,version,weekStart,fiscalYearStartMonth,links,timepicker) dropped.Follow-up
The transient API-created dashboard (uid
aa433a50-c056-4f2f-ac0e-c329d3f68b3f) should be deleted once this provisioned dashboard (uidbitborg-runners) has been applied, to avoid a duplicate "bitborg CI runners — health" entry.Add ansible/roles/monitoring/files/gitborg-runners.json so the 'gitborg CI runners — health' dashboard is provisioned as code (auto-globbed by the Grafana file provider) instead of living only as an API-created dashboard. Datasource UIDs are parameterised via ${DS_VICTORIAMETRICS} / ${DS_LOKI} template vars, matching the other gitborg-*.json dashboards. Visualises the runner-controller metrics + logs (#78).