Repository navigation
Description
Update 2026-11-26 (infra move): Part of the dashboards moved to dan-petty/homelab.
- In devops-cli (
k8s/devops/dashboards/): devops-cli, project-metrics, ai-spend. - In homelab (
k8s/monitoring/): llm-stack, the Grafana values and data sources, and the SRE service dashboard. That one is built fromservices.tomlwith the devops-cli template.
A child that changes a homelab file does it there.
Problem or Motivation
A diagnosis of the Grafana dashboards on 2026-11-11 found that the counters are close to true (increase() is 1.8 % below the budget gauge), but many panels show wrong or unreadable numbers. The root causes:
- R1. A gauge series has more than one writer. The Service writes the project gauges of 7 repositories with no repo label, and the workstation command writes the same series.
devops_cli_project_releaseschanges 236 times in 24 h, and the sum of items flips between 1,940 and 6. - R2. Some instruments do not measure what the panel says. The release count stops at 10 (274 tags). The release interval histogram is observed again at each snapshot and loses intervals under 72 min. The CI run label holds run ids (858 lines in 30 d). The upstream status indicator is a label, so a 22 h old 'major' series wins. devops-cli prices gateway tokens at 41 % of the gateway price. A paginated gh read counts as 1 request.
- R3. Counter streams lose counts between the collector and Prometheus. No series starts with a zero sample (0 of 179), so increase() loses the first count of each new stream (runner Jobs -18 %).
host.namestarts a new stream at each pod start (up to 16 resets a day).max_stale1h is shorter than many export gaps. - R4. Panels do not match their signals. Time series panels read snapshot gauges with
last_over_time([$__range]). Sparse OTLP counters userate([5m])(37 % to 48 % of the true volume at 7 d) or rolling [1h] bars (474 throttle bars for 21 throttles). Panels draw 24 to 858 lines, put counts on seconds axes and have no job or repo filter. The SRE dashboard opens on the wrong namespace. - R5. No check catches these defects. The dashboard linter checks only identity, ids, layout, data sources and PromQL syntax. No test evaluates a panel query.
Goal
Each panel of the 5 dashboards (devops-cli, project-metrics, sre-service, ai-spend and llm-stack) shows a number that agrees with its source, for one repository and one job at a time. Two checks keep it so: a promtool harness that evaluates panel queries on fixture series, and a dashboard lint with 5 new rules and no exemption list.
Owner decisions (2026-11-11)
- Project facts come from the Grafana GitHub data source. Releases and cadence, stars and forks, CI runs by workflow and result, commits and merged pull requests per release, and items by milestone come from the
grafana-github-datasourceplugin (pinned to the newest release that the Grafana version supports, v2.10.0 or later; no minimum release age). It authenticates as a new read-only GitHub App that the owner creates and whose key the owner stores in the keyring. Agents register the keyring entries fordevops k8s push-secrets, pin the plugin, provision the data source from environment values, rewrite the panels and remove the gauges that these panels replace. So the plan item "fix(telemetry): correct the release and CI run gauges" is not filed; its evidence is in the data source item. - GitHub's own count comes from the rate-limit headers. Gauges of the
x-ratelimit-*headers that devops-cli already reads (limit, remaining, used and reset, by resource). No new pod and no second copy of the Service App key. - Traffic keeps the devops-cli emitter. No open tool covers traffic (views, clones, referrers, paths). The emitter runs on the 15-minute schedule of ADR 0021, with a repository label, and its token asks for Administration: read.
- No OpenTelemetry Collector GitHub receiver for now. It needs a second public webhook path outside the ADR 0009 router.
- Look. The project design study owns colors and type. These items change queries, panel types, units, legends and defaults only, with the default Grafana colors.
Ordered child list
Each line gives the issue, its title and the issues to merge first. "Start now" marks an item with no unmet dependency.
- test(monitoring): evaluate panel queries on fixture series #4680 test(monitoring): evaluate panel queries on fixture series. Start now.
- fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684 fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver. Start now.
- fix(telemetry): key the project gauges by repository #4690 fix(telemetry): key the project gauges by repository. Start now.
- fix(telemetry): keep one metric stream per workload #4697 fix(telemetry): keep one metric stream per workload. Depends on: fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684.
- fix(telemetry): keep one upstream status series per service #4701 fix(telemetry): keep one upstream status series per service. Start now.
- fix(monitoring): make the GitHub and command panels readable #4707 fix(monitoring): make the GitHub and command panels readable. Depends on: test(monitoring): evaluate panel queries on fixture series #4680, fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684.
- fix(monitoring): show one repository at a time in Project Velocity #4712 fix(monitoring): show one repository at a time in Project Velocity. Depends on: test(monitoring): evaluate panel queries on fixture series #4680, fix(telemetry): key the project gauges by repository #4690, fix(telemetry): keep one upstream status series per service #4701.
- fix(monitoring): make the Service row panels readable #4718 fix(monitoring): make the Service row panels readable. Depends on: fix(monitoring): make the GitHub and command panels readable #4707.
- fix(monitoring): read AI spend from the gateway counter #4724 fix(monitoring): read AI spend from the gateway counter. Depends on: test(monitoring): evaluate panel queries on fixture series #4680.
- fix(monitoring): open the SRE dashboard on the Service namespace #4728 fix(monitoring): open the SRE dashboard on the Service namespace. Depends on: test(monitoring): evaluate panel queries on fixture series #4680.
- fix(monitoring): tidy LLM stack windows, units and lines #4732 fix(monitoring): tidy LLM stack windows, units and lines. Start now.
- fix(ai): record the gateway cost of each gateway call #4734 fix(ai): record the gateway cost of each gateway call. Start now.
- fix(github): count each page of a paginated GitHub read #4737 fix(github): count each page of a paginated GitHub read. Depends on: fix(github): bound the GitHub session read at 60 seconds #4626.
- feat(github): record the rate limit of each response as gauges #4752 feat(github): record the rate limit of each response as gauges. Depends on: fix(monitoring): make the GitHub and command panels readable #4707.
- fix(telemetry): emit traffic per repository on a schedule #4757 fix(telemetry): emit traffic per repository on a schedule. Depends on: fix(telemetry): key the project gauges by repository #4690, feat(roadmap): run the reconcile sweep on a cluster schedule #4574 for the schedule.
- feat(monitoring): read project facts with the GitHub data source #4747 feat(monitoring): read project facts with the GitHub data source. Depends on: the owner's read-only App, fix(monitoring): show one repository at a time in Project Velocity #4712.
- test(monitoring): lint dashboards for range, window and legend errors #4743 test(monitoring): lint dashboards for range, window and legend errors. Depends on: fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684, fix(monitoring): make the GitHub and command panels readable #4707, fix(monitoring): make the Service row panels readable #4718, fix(monitoring): show one repository at a time in Project Velocity #4712, fix(monitoring): read AI spend from the gateway counter #4724, fix(monitoring): open the SRE dashboard on the Service namespace #4728, fix(monitoring): tidy LLM stack windows, units and lines #4732.
Scope changes and related items (not children)
- feat(roadmap): a dashboard and alerts for the pipeline #3655 feat(roadmap): a dashboard and alerts for the pipeline. Scope added: it uses test(monitoring): evaluate panel queries on fixture series #4680 and the panel rules of test(monitoring): lint dashboards for range, window and legend errors #4743. It stays a sub-issue of feat(roadmap): move Service work to Workflows and Valkey #4517.
- feat(telemetry): Hide empty sub-command panels in devops-cli dashboard #2703 feat(telemetry): Hide empty sub-command panels in devops-cli dashboard. Close it as not planned with a link after fix(monitoring): make the GitHub and command panels readable #4707 merges, because the repeat panel goes.
- fix(service): the metrics row sends too many counted requests #3941 keeps the metrics row reads. feat(monitoring): read project facts with the GitHub data source #4747 removes the workflow run and milestone reads from the row.
- test(roadmap): compare each dashboard panel value with roadmap explain #3851 evaluates implement panels with promtool; it can use test(monitoring): evaluate panel queries on fixture series #4680.
- feat(roadmap): run the reconcile sweep on a cluster schedule #4574 moves the metrics row to the 15-minute CronWorkflow that fix(telemetry): emit traffic per repository on a schedule #4757 uses.
- fix(monitoring): drop per-pod labels from gateway spend series #4545, feat(ai): label gateway spend by repository #4578, feat(monitoring): read the Service API with the Infinity datasource #4597 and feat(monitoring): show Service jobs, branch and work log #4621 do not overlap these items.
Open questions for the owner
- Upstream report. If the native-histogram false reset stays after fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684 (a count moves to the next bucket between two exports, so increase() adds the full count again: 21 throttles counted against about 13), may an agent file the reproduction in
open-telemetry/opentelemetry-collector-contribunder your account? - AI spend price (chore(ai): Confirm DeepSeek price on OpenRouter activity #4422). A person with OpenRouter account access confirms the price of the DeepSeek
:floorroute. After fix(ai): record the gateway cost of each gateway call #4734, the gateway price (k8s/llm/gateway/config.yamlof dan-petty/homelab) is the one price to confirm.
Target Subsystem
Kubernetes & Minikube Automation (Grafana dashboards, telemetry and the OpenTelemetry Collector).
Existing Tool Considered
Each child names its tool: promtool, the Prometheus OTLP receiver, the OpenTelemetry SDK Resource, the Grafana GitHub data source, the LiteLLM response cost header and the built-in Grafana panel types. The children that build code give their cost: the panel query harness, the dashboard lint, the rate-limit gauges and the traffic emitter.
Alternatives check of 2026-12-01: in-use.
The repository already uses this tool.
Tool: promtool (https://github.com/prometheus/prometheus), Apache-2.0, last activity 2026-12-01, maintained.
Reason: promtool test rules evaluates PromQL on fixture series and covers the panel-query harness of child #4680, which the issue already names. It does not lint dashboard JSON or fix the gauge, counter and data source defects, so it covers one part of this tracker.
Covers:
- Evaluates PromQL queries offline on fixture series
- Fails a panel query that returns a wrong value
- Already pinned and used by the repository
Lacks:
- Dashboard JSON lint and the five new rules
- Unit allowlist and default namespace check
- Fixes for multiple writers and missing zero samples
- GitHub data source panels and rate-limit gauges
Proposed design
Problem statement
The five Grafana dashboards showed wrong or unreadable numbers on 2026-11-11. Project gauges had several writers, some instruments did not measure what their panels said, counter streams lost counts, and panel queries did not match their signals. No check evaluated a panel query. This tracker coordinates the child fixes and the two checks that keep each panel correct for one repository and one job at a time.
Acceptance criteria
Requirement: Project gauges keyed by repository
Each project gauge SHALL carry a repo label and SHALL have one writer for each repository.
Scenario: Two repository snapshots write the same gauge
- WHEN The metrics row sends the snapshot of repository A and then the snapshot of repository B.
- THEN Prometheus holds one
devops_cli_project_releasesseries for each repository, and the series of repository A keeps its value.
Requirement: Panel queries evaluated on fixture series
Each dashboard panel query SHALL have a case that promtool test rules evaluates on fixture series.
Scenario: Sparse counter with a short rate window
- WHEN The harness runs a panel query with
rate(...[5m])on a sparse counter fixture. - THEN The harness fails when the query returns less than the expected increase of the fixture.
Requirement: Dashboard lint adds five rules
The dashboard lint SHALL add five rules for range, window, legend with the job and repository filter and line count, unit and default namespace, and SHALL have no exemption list.
Scenario: Panel with a missing unit
- WHEN The lint reads a dashboard panel that sets no unit.
- THEN The lint reports the panel and exits non-zero.
Requirement: Project facts read from GitHub data source
The project-facts panels SHALL read releases and cadence, stars and forks, CI runs by workflow and result, commits and merged pull requests per release, and items by milestone from the Grafana GitHub data source plugin pinned to v2.10.0 or later and authenticated by a read-only GitHub App.
Scenario: Release count panel
- WHEN The data source returns 274
v*tags for the repository. - THEN The release count panel shows 274, not the 10 of
devops gh metrics --limit.
Requirement: GitHub rate-limit headers become gauges
The change SHALL expose the x-ratelimit-limit, x-ratelimit-remaining, x-ratelimit-used and x-ratelimit-reset headers as gauges labeled by resource.
Scenario: A GitHub response gives rate-limit headers
- WHEN devops-cli reads a GitHub response with limit, remaining, used and reset headers.
- THEN The metrics hold one gauge for each header, labeled by resource.
Requirement: Traffic emitter runs per repository
The traffic emitter SHALL run on the 15-minute schedule with a repo label and a token that asks for Administration: read.
Scenario: Scheduled traffic run
- WHEN The 15-minute CronWorkflow starts the traffic emitter.
- THEN The emitted traffic series carry the
repolabel, and the token scope is Administration: read.
Requirement: Panels use the unit allowlist
Each panel SHALL set one unit id from the unit table, and the lint SHALL reject a panel with no unit or a unit outside the allowlist.
Scenario: Ratio panel with percentunit
- WHEN A ratio panel sets
percentunit. - THEN The lint accepts the unit, and a panel with
percentfor the same ratio fails.
Requirement: Release and CI gauges are replaced, not duplicated
The tracker SHALL fold the release and CI run gauge work into child #4747 and SHALL NOT file the plan item fix(telemetry): correct the release and CI run gauges.
Scenario: Scope list has no release gauge item
- WHEN A reader checks the scope changes and the child list.
- THEN The body says the item is not filed, and child feat(monitoring): read project facts with the GitHub data source #4747 replaces those gauges.
Existing Tool Considered
The alternatives check found no tool that tests Grafana panel queries end to end. The only existing tool that fits a real part is prometheus/prometheus (promtool), which the repository already uses. promtool test rules evaluates PromQL on fixture series and covers the panel-query harness of child #4680. It lacks dashboard JSON lint, the five lint rules of child #4743 and the unit allowlist. It does not fix the multiple writers, label churn, missing zero samples or OTLP receiver behavior. It supplies no project-facts panels, rate-limit gauges or traffic emitter; the project-facts panels use grafana/github-datasource. This tracker builds no code itself. The children that build code give their written cost: the panel-query harness about 120,000 tokens to build, 3,000 tokens a month to keep and 3 h elapsed; the traffic emitter about 40,000 tokens to build, 1,000 tokens a month to keep, 2,000 tokens to repair a wrong permission name and 1 h elapsed. The dashboard lint and the rate-limit gauges state their cost in their own issues.
Key questions
- Which source supplies the project facts panels?: The Grafana GitHub data source plugin supplies the project facts panels. The plugin is pinned to v2.10.0 or later, and a read-only GitHub App authenticates it. The owner creates the App and stores its key in the keyring. Child feat(monitoring): read project facts with the GitHub data source #4747 replaces the release and CI run gauges with these panels. (best practice) [sources: k8s/monitoring/grafana-values.yaml, src/devops_cli/github/metrics.py, k8s/devops/dashboards/project-metrics.json]
- Chosen: Grafana GitHub data source. The owner decision names it, and it is open and maintained.
- Rejected: Keep the devops-cli project gauges. They have several writers, and the release count stops at the
--limitvalue. - Rejected: OpenTelemetry Collector GitHub receiver. It needs a second public webhook path outside the ADR 0009 router.
- How does the dashboard show GitHub's own request count?: The dashboard shows GitHub's own request count from gauges of the
x-ratelimit-*headers that devops-cli already reads. The gauges cover limit, remaining, used and reset, by resource. The rate limiter parses the four headers. No new pod and no second Service App key are needed. (best practice) [sources: src/devops_cli/github/rate_limiter.py, docs/adr/0006-github-session-requests-go-through-gidgethub.md, src/devops_cli/config/constants.py]- Chosen: x-ratelimit header gauges. It uses headers that devops-cli already reads and adds no pod.
- Rejected: A new pod with a second App key. It duplicates the Service App key and adds a workload.
- Which tool emits traffic metrics?: Keep the devops-cli traffic emitter. No open tool covers views, clones, referrers and paths. The emitter runs on the 15-minute schedule of ADR 0021, with a repository label. Its token asks for Administration: read. (best practice) [sources: docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md, docs/TELEMETRY.md, docs/adr/0015-roadmap-jobs-act-as-a-github-app-on-the-personal-account.md]
- Chosen: devops-cli traffic emitter. No open tool covers the traffic metrics, and the emitter already exists with the Administration: read permission.
- Rejected: OpenTelemetry Collector GitHub receiver. It needs a second public webhook path outside the ADR 0009 router.
- Rejected: Remove traffic panels. The owner decision keeps traffic metrics.
- Do we add the OpenTelemetry Collector GitHub receiver now?: No. The OpenTelemetry Collector GitHub receiver needs a second public webhook path outside the ADR 0009 router. ADR 0009 records that only GitHub is public today and that the single public path holds. (best practice) [sources: docs/adr/0009-one-webhook-router-delivers-each-event-to-the-consumers-subscribed-to-it.md, docs/adr/0021-the-roadmap-service-is-a-webhook-router-cluster-pods-run-the-roadmap-jobs-and-valkey-holds-their-shared-state.md]
- Chosen: No receiver. It avoids a second public webhook path outside the ADR 0009 router.
- Rejected: Add receiver. It adds the webhook path that the owner rejected.
- Which items change colors and type?: The project design study owns colors and type. These items change queries, panel types, units, legends and defaults only. They use the default Grafana colors. (best practice) [sources: docs/DESIGN.md, docs/adr/0024-the-project-owns-its-design-tokens-in-the-dtcg-format-and-style-dictionary-builds-them.md]
- Chosen: Design study owns colors and type. It keeps this tracker to query, unit and legend fixes.
- Rejected: These items change colors and type. It mixes the design study into the panel fixes.
- Which open tool evaluates the panel queries?: prometheus/prometheus (promtool)
test ruleson fixture series evaluates the panel queries. The harness istests/prometheus/test_dashboard_queries.py. It readstests/fixtures/dashboard_queries/<dashboard>.yaml, replaces the Grafana variables and runs the pinned promtool. promtool lacks dashboard JSON lint and the unit allowlist, so child test(monitoring): lint dashboards for range, window and legend errors #4743 adds those rules. (best practice) [sources: docs/TESTING.md, tests/prometheus/test_dashboard_queries.py, .github/workflows/ci.yml, openspec/changes/archive/2026-11-12-4680-evaluate-panel-queries-on-fixture-series/proposal.md]- Chosen: promtool test rules. It evaluates PromQL offline against fixture series and fails a wrong query; the repository already pins it and the harness exists.
- Rejected: Build a new query evaluator. It repeats a maintained Prometheus feature and adds code to keep.
- Rejected: Grafana dashboard linter alone. It checks dashboard structure and PromQL syntax but does not evaluate a panel query.
- Which five rules does the dashboard lint add?: The lint adds five rules: range, window, legend, unit and default namespace. The legend rule includes the job and repository filter and the line count. The lint has no exemption list.
grafana/dashboard-linterv0.4.0 has no rule for units, second axes, repeats,$__rangeoror vector(0), and takes no custom rules. Child test(monitoring): lint dashboards for range, window and legend errors #4743 adds the rules tosrc/devops_cli/grafana/linter.py. (best practice) [sources: docs/commands/grafana.md, src/devops_cli/grafana/linter.py, docs/DESIGN.md, openspec/changes/archive/2026-11-12-4707-make-the-github-and-command-panels/proposal.md]- Chosen: Five rules: range, window, legend, unit and default namespace. It covers the defect classes of R4 and the unit rule of the design spec, with the job and repository filter and line count in the legend rule.
- Rejected: Only the three rules of the child title. It leaves units and the SRE default namespace unchecked.
- Rejected: A rule for every defect. The body fixes five new rules; the job and repository filter fits the legend rule.
- Which unit id does each quantity use?: Duration
s; ratio from 0 to 1percentunit; sizebytes(IEC); byte ratebinBps; link ratebps; request or operation ratereqpsorops; countshort; identifiernone. Each value axis has a title with its unit. Child test(monitoring): lint dashboards for range, window and legend errors #4743 rejects a panel with no unit or a unit outside this table. The table lands with feat(design): add the design tokens and their build #4738. (best practice) [sources: docs/DESIGN.md, k8s/monitoring/dashboards/k8s-views-pods.json, k8s/monitoring/dashboards/cloudnative-pg.json, k8s/devops/dashboards/devops-cli.json, k8s/monitoring/dashboards/k8s-views-global.json, k8s/monitoring/dashboards/coredns.json, k8s/monitoring/dashboards/ingress-tunnel.json]- Chosen: Use the DESIGN.md unit table. It gives one unit id for each quantity and a lint rule that a test can check.
- Rejected: Keep the mixed units. It leaves
percent/percentunit,Bps/binBpsands/msin the dashboards. - Rejected: Let each panel choose a Grafana unit. It leaves the same quantity with more than one unit id, which the lint cannot allowlist.
- Is the plan item
fix(telemetry): correct the release and CI run gaugesfiled?: No. Owner decision 1 folds it into child feat(monitoring): read project facts with the GitHub data source #4747, which replaces the release and CI run gauges with the GitHub data source. The panelTotal Releases Trackedatk8s/devops/dashboards/project-metrics.jsonand the gauge atsrc/devops_cli/github/metrics.pyare the ones it replaces. (best practice) [sources: openspec/changes/archive/2026-11-11-4690-key-the-project-gauges-by-repository/design.md, src/devops_cli/github/metrics.py, k8s/devops/dashboards/project-metrics.json]- Chosen: Fold into feat(monitoring): read project facts with the GitHub data source #4747. The GitHub data source supplies releases and CI runs, so a separate gauge item repeats the work.
- Rejected: File the gauge item. It keeps two writers for the same project facts.
- Who creates the read-only GitHub App for the project facts data source?: The owner creates the App, grants read-only access to the managed repositories, and stores its key in the keyring. Agents register the keyring entry for
devops k8s push-secrets, pin the plugin and provision the data source from environment values. (best practice) [sources: SECURITY.md, k8s/README.md, docs/CLUSTER.md]- Chosen: Owner creates the read-only GitHub App. The owner decision names the owner, and only the owner can create the App and store its key.
- Rejected: Agent creates the App. An agent cannot create a GitHub App or hold its private key.
- What release-count evidence must child feat(monitoring): read project facts with the GitHub data source #4747 add?: The old gauge
devops_cli_project_releasesreads 10 becauseDEFAULT_PROJECT_METRICS_RELEASE_LIMITis 10 andtotal_releasesislen(releases). The repository has 274v*tags on 2026-11-11. After child feat(monitoring): read project facts with the GitHub data source #4747 merges, the release count panel must equal 274. Each panel that shows only the last N releases must say so in its title. (best practice) [sources: src/devops_cli/config/defaults.py, src/devops_cli/github/metrics.py, k8s/devops/dashboards/project-metrics.json, docs/commands/gh.md]- Chosen: Add the 274-tag evidence to feat(monitoring): read project facts with the GitHub data source #4747. It gives the child a checkable release-count result.
- Rejected: File a separate velocity item. The owner decision folds the release gauge work into child feat(monitoring): read project facts with the GitHub data source #4747.
- Which standards documents does child feat(monitoring): read project facts with the GitHub data source #4747 change?:
k8s/README.mdfor the Grafana dashboards and the data source plugin.SECURITY.mdfor the read-only GitHub App.AGENTS.mdrule 8 requires the document change in the same pull request. (best practice) [sources: k8s/README.md, SECURITY.md, AGENTS.md]- Chosen: Update both documents in feat(monitoring): read project facts with the GitHub data source #4747. The project rule changes the standards documents with the feature.
- Rejected: Update no standards document. It leaves the dashboards and the GitHub App undocumented.
Fit
Needs splitting into 17 items:
- test(monitoring): evaluate panel queries on fixture series #4680 test(monitoring): evaluate panel queries on fixture series. Start now.
- fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684 fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver. Start now.
- fix(telemetry): key the project gauges by repository #4690 fix(telemetry): key the project gauges by repository. Start now.
- fix(telemetry): keep one metric stream per workload #4697 fix(telemetry): keep one metric stream per workload. Depends on fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684.
- fix(telemetry): keep one upstream status series per service #4701 fix(telemetry): keep one upstream status series per service. Start now.
- fix(monitoring): make the GitHub and command panels readable #4707 fix(monitoring): make the GitHub and command panels readable. Depends on test(monitoring): evaluate panel queries on fixture series #4680 and fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684.
- fix(monitoring): show one repository at a time in Project Velocity #4712 fix(monitoring): show one repository at a time in Project Velocity. Depends on test(monitoring): evaluate panel queries on fixture series #4680, fix(telemetry): key the project gauges by repository #4690 and fix(telemetry): keep one upstream status series per service #4701.
- fix(monitoring): make the Service row panels readable #4718 fix(monitoring): make the Service row panels readable. Depends on fix(monitoring): make the GitHub and command panels readable #4707.
- fix(monitoring): read AI spend from the gateway counter #4724 fix(monitoring): read AI spend from the gateway counter. Depends on test(monitoring): evaluate panel queries on fixture series #4680.
- fix(monitoring): open the SRE dashboard on the Service namespace #4728 fix(monitoring): open the SRE dashboard on the Service namespace. Depends on test(monitoring): evaluate panel queries on fixture series #4680.
- fix(monitoring): tidy LLM stack windows, units and lines #4732 fix(monitoring): tidy LLM stack windows, units and lines. Start now.
- fix(ai): record the gateway cost of each gateway call #4734 fix(ai): record the gateway cost of each gateway call. Start now.
- fix(github): count each page of a paginated GitHub read #4737 fix(github): count each page of a paginated GitHub read. Depends on fix(github): bound the GitHub session read at 60 seconds #4626.
- feat(github): record the rate limit of each response as gauges #4752 feat(github): record the rate limit of each response as gauges. Depends on fix(monitoring): make the GitHub and command panels readable #4707.
- fix(telemetry): emit traffic per repository on a schedule #4757 fix(telemetry): emit traffic per repository on a schedule. Depends on fix(telemetry): key the project gauges by repository #4690 and feat(roadmap): run the reconcile sweep on a cluster schedule #4574 for the schedule.
- feat(monitoring): read project facts with the GitHub data source #4747 feat(monitoring): read project facts with the GitHub data source. Depends on the owner's read-only App and fix(monitoring): show one repository at a time in Project Velocity #4712.
- test(monitoring): lint dashboards for range, window and legend errors #4743 test(monitoring): lint dashboards for range, window and legend errors. Depends on fix(telemetry): send cumulative metrics to the Prometheus OTLP receiver #4684, fix(monitoring): make the GitHub and command panels readable #4707, fix(monitoring): make the Service row panels readable #4718, fix(monitoring): show one repository at a time in Project Velocity #4712, fix(monitoring): read AI spend from the gateway counter #4724, fix(monitoring): open the SRE dashboard on the Service namespace #4728 and fix(monitoring): tidy LLM stack windows, units and lines #4732.
Suspected block
None.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(monitoring)scope of the title gives the scope.Wrong dashboard numbers mislead operators but do not block releases or expose data.Operators rely on these 5 dashboards for daily decisions and incident response.Five dashboards, five root causes, a new GitHub data source, a promtool harness, and five new lint rules are all in scope.Both fix Grafana panel queries, but #1175 targeted specific projection and rolling-average defects while this candidate adds a new data source, counter-stream fixes, and two new checks.4 remaining items
dan-petty commentedon Nov 11, 2026
The project review plan (#4679) had the item "fix(gh): count all release tags in the velocity gauges". Owner decision 1 of this tracker covers it: the item "feat(monitoring): read project facts with the GitHub data source" (child 16) replaces the release gauges, and the plan item "fix(telemetry): correct the release and CI run gauges" is not filed. So the velocity item folds into child 16 and is not filed.
The project review links the Project & Engineering Velocity dashboard for its window. Please add this evidence and check to child 16:
devops_cli_project_releasesreads 10, which is the--limitofdevops gh metrics. So the "Total Releases Tracked" stat shows 10, and the repository has 274v*tags.v*tags on 2026-11-11). The other release panels that show only the last N releases say so in their titles.dan-petty commentedon Nov 11, 2026
Standards documents for the children
Each child pull request changes these documents together with its feature (AGENTS.md rule 8). The standards update lists no document for the filed children.
k8s/README.mdGrafana Dashboards: the panels ofproject-metrics.jsonthat read the GitHub data source, and the data source plugin in the Grafana values.SECURITY.md: the read-only GitHub App that the owner creates for the data source.dan-petty commentedon Nov 11, 2026
Scope from the design spec plan (2026-11-11)
The design spec tracker #4735 adds a unit convention to this tracker. Colors stay out of this scope (owner decision 5 of this tracker); #4762 applies the design colors after the panel children merge.
Problem. The dashboards mix
percentandpercentunit,BpsandbinBps,sandms, andshortandnone. 12 panels have no unit.Scope added.
The panel children use one unit id for each quantity (rule C4 of
docs/DESIGN.md, from feat(design): add the design tokens and their build #4738):spercentunitbytes(IEC)binBpsbpsreqpsoropsshortnoneEvery value axis has a title with its unit.
The dashboard lint child ("test(monitoring): lint dashboards for range, window and legend errors", child 17) adds a unit rule: each panel sets a unit, and the unit is in the allowlist of the table.
Scope: the 10 own dashboards. The 5 gnetId-derived copies and Node Exporter Full stay as published.
Acceptance criteria added.
Dependencies added. #4738 (
docs/DESIGN.mdholds the table).dan-petty commentedon Nov 11, 2026
Owner direction of 2026-11-11:
New rule: no minimum release age for dependencies, images, charts or tools. Pin the newest release that fixes the known security and bug issues and that the surrounding tools support (the tests pass).
Body changes: the
grafana-github-datasourcepin is the newest release that the Grafana version supports (v2.10.0 or later), not a release that is two weeks old.devops-cli-service commentedon Nov 14, 2026
Alternatives check: in-use
Reason: The searches surfaced no tool that tests Grafana panel queries end to end; the only existing tool that fits a real part of the need is promtool, which the issue itself names for child #4680. promtool's
test rulesevaluates PromQL expressions against fixture series with expected results, so it covers the query-evaluation harness, but it does not lint dashboard JSON, and none of the metric-writer, counter-stream or data-source work is covered by it.The repository already uses this tool.
Tool: prometheus/prometheus (https://github.com/prometheus/prometheus)
Covers:
test rulesevaluates PromQL expressions offline over fixture series with expected outcomes, which is exactly the panel-query harness of test(monitoring): evaluate panel queries on fixture series #4680Lacks:
Tools considered:
Searches run:
Sources:
Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 14, 2026
Owner question: Who creates the read-only GitHub App for the project facts data source? (a person decides)
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 14, 2026
The proposal at de100a0 needs splitting into 17 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.