Skip to content

feat(service): chart the Service and filter the CLI dashboard by job - #3704

Merged
dan-petty merged 7 commits into
mainfrom
feat/2479-service-dashboard-row-job-variable
Nov 6, 2026
Merged

dan-petty merged 7 commits into
mainfrom
feat/2479-service-dashboard-row-job-variable

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add the row Roadmap Service and the query variable job to the devops-cli Telemetry dashboard. Each Prometheus query of the dashboard filters by $job, so a reader of the Service alerts can read the GitHub requests of the Service apart from those of the cluster Jobs and the workstations.

The variable reads devops_cli_github_requests_total as well as devops_cli_command_total. The Service adds to the command series only when devops serve stops, and the list follows the time range of the dashboard, so that series alone does not list the Service in most hours.

k8s/README.md now says that the Jobs act as the same App and do not count in service.github_requests_per_hour. The Service gateway key moved to #3685, and the model retry needed no work.

Closes #2479

Change: openspec/changes/archive/2026-11-05-2479-service-dashboard-row-job-variable/

@dan-petty dan-petty added type/feature Type feature: a new function scope/service The long-running devops Service and its lanes labels Nov 5, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Review findings

I verified each finding of the two reviewers against the code. Six findings give four separate problems. All four hold, and all four are fixed in this branch. No finding is wrong.

Problem Finding Fix
The variable job read only devops_cli_command_total, so the list usually did not hold roadmap-service at the default range of 1 hour. 2 and 4 The variable now reads {__name__=~"devops_cli_command_total|devops_cli_github_requests_total"}. The design, the spec delta, the test, k8s/README.md and the panel description changed with it.
metric-instruments kept the old query of the panel Embedding Cache Hit Share. 1 and 5 The change adds a MODIFIED delta. The same delta also covers the panel Planner Tool Calls and Answer Size, which the reviewers did not name and which had the same problem.
The proposal wrote a pull request number. 3 The proposal now gives the fact: k8s/devops/configmap.example.yaml sets ai.max_retries: 1.
The description of the panel Service Budget Holds said that it counts held requests. 6 The description now says that it counts each start of a hold, and that a request that waits inside a round does not count. RequestBudget.holds has the only increment.

Checks

Live check of the selector. Grafana 13.2.4 and Prometheus answered the request that the variable sends. At 1 hour the values are devops-cli and roadmap-service. At 7 days the values are devops-cli, devops-cli-job and roadmap-service, with no kubernetes-pods. A 1-hour window over 7 days finds roadmap-service at each hourly point. In @grafana/prometheus 13.2.2, the nearest published package to the deployed plugin 13.2.3, LabelsApiClient.queryLabelValues sends the selector unchanged as match[].

Not checked. The variable had no run in a browser, because a dashboard change reaches Grafana only after the merge.

Narrow tests: tests/grafana/test_grafana_dashboards.py, tests/telemetry/test_telemetry_instruments.py and tests/prometheus/test_k8s_monitoring_dashboards.py: 137 passed.

Full uv run devops ci, before the archive commit: exit 1. The test step had 4 failed, 19109 passed, 2 skipped and 1 error. Each failure is a known host failure that the task lists for origin/main:

The test step took 8m 4s, over the budget of 5 minutes (#3593). The coverage row shows fail and has no duration, because the test step failed. All other rows passed.

devops ci fail-to-pass: not run, because this is a feature and not a fix.

@dan-petty
dan-petty force-pushed the feat/2479-service-dashboard-row-job-variable branch from 01ecb16 to 9a23e93 Compare November 6, 2026 00:33
@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 01:04
@dan-petty
dan-petty merged commit fecc6fb into main Nov 6, 2026
22 checks passed
@dan-petty
dan-petty deleted the feat/2479-service-dashboard-row-job-variable branch November 6, 2026 01:04
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.64.0](v0.63.2...v0.64.0)
(2026-11-06)


### Features

* **roadmap:** let the step guard allow a recorded test removal
([#3715](#3715))
([f025406](f025406))
* **roadmap:** require the eval replay for a stage check change
([#3716](#3716))
([76e8301](76e8301))
* **roadmap:** restart a suspended job on a comment of a person
([#3699](#3699))
([be8d18a](be8d18a))
* **roadmap:** the verifier reads the repository and repairs a plan
twice ([#3710](#3710))
([c1191e2](c1191e2))
* **service:** chart the Service and filter the CLI dashboard by job
([#3704](#3704))
([fecc6fb](fecc6fb))


### Bug Fixes

* **deps:** upgrade oauthlib to fix GHSA-3jp2-3mrg-2vxc
([#3709](#3709))
([6a88012](6a88012)),
closes [#3705](#3705)
* **k8s:** hold the copy source until the destination ends
([#3712](#3712))
([c7c5556](c7c5556)),
closes [#3695](#3695)
* **k8s:** the gateway stops using the 16 GiB tier
([#3697](#3697))
([842effc](842effc))
* **roadmap:** keep angle-bracket text of a code span in refine
([#3711](#3711))
([396962e](396962e))
* **roadmap:** P1 items pass the planned limit
([#3698](#3698))
([63589f0](63589f0)),
closes [#3692](#3692)
* **roadmap:** refine blocks an item with an open dependency
([#3696](#3696))
([89fbb08](89fbb08))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/service The long-running devops Service and its lanes type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(service): the devops-cli dashboard shows the Service and filters by job

1 participant