Repository navigation
feat(monitoring): build service dashboards from one SRE template - #5280
Conversation
|
Screenshots of the generated The method: a preview copy of the build (uid Light theme Dark theme What the data shows: SLI 99.984 % over 30 days, 84.5 % of the error budget left, and one 502 near 03:00 UTC that put the 1 h burn rate at about 9x (under its 14.4x page line). The renders of the collapsed rows (memory and CPU use, request and limit; the warnings log panel; the CPU flame graph) also showed data. A question for the owner: both specs in |
The Grafana Foundation SDK 0.0.22 (dependency group `dashboards`) builds the dashboard of a Kubernetes service from a spec of k8s/monitoring/dashboards/services.toml: the SLO tiles, the burn rate and the budget left, the golden signals in the order of the book, then the collapsed rows of capacity, logs and profiles. Series 1 and 2 take the token hex of color.data.cat.1 and cat.2; other colors are the Grafana names text, semi-dark-orange and red. `make dashboards` writes devops-roadmap-service.json and devops-sre-service.json, which replaces sre-service.json and keeps its uid. The Design Tokens job fails when a committed dashboard is not the build. The query harness evaluates the SLI, budget and burn-rate queries of a spec with promtool.
The Service image and the runner image install only the dev group, so the suite in the Service image failed on the import of the SDK, and the type check of a runner step reads all of src/.
9175f8e to
da9695b
Compare
🤖 I have created a release *beep* *boop* --- ## [0.125.0](v0.124.0...v0.125.0) (2026-11-12) ### Features * **monitoring:** build service dashboards from one SRE template ([#5280](#5280)) ([0fe31a6](0fe31a6)) ### Bug Fixes * **roadmap:** fix-plan records the true result of each attempt ([#5279](#5279)) ([4a5a118](4a5a118)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>


A template builds the Kubernetes service dashboards with the Grafana Foundation SDK 0.0.22 (dev dependency group, not runtime): the SLO tiles, the burn rate and budget, the golden signals in the order of the book, then collapsed capacity, logs and profiles rows. Colors come from the token build.
make dashboardswritesdevops-roadmap-service.jsonanddevops-sre-service.jsonfromservices.toml; the second replacessre-service.jsonand keeps its uid. The Design Tokens job fails when a committed dashboard is not the build. promtool cases check the SLI, budget and burn rate (1,000 requests, 2 failed, SLO 99 %: 0.998, 80 %, 0.2x).Closes #5184
Change:
openspec/changes/archive/2026-11-12-5184-build-service-dashboards-from-one-sre/