Repository navigation
fix(telemetry): key the project gauges by repository - #4804
Conversation
Fail-to-pass
Failed on the base:
Focused run: Measurements before the changePrometheus, read on 2026-11-11 (instant queries):
Live steps after the rolloutNo ConfigMap, Secret or manifest changes. The change takes effect when the Service runs an image that holds it. 24 h after the rollout, run these queries in Grafana Explore on the Prometheus data source:
Until the project-metrics dashboard item adds the |
The metrics row sends the project snapshot of each managed repository from one process, but the devops_cli_project_* series had no repo label, so the repositories overwrote each other's series. Each point now carries the casefolded owner/name of its report as repo, and the 0 for an item label set that goes away is kept per repository. devops gh metrics --emit-telemetry refuses --milestone and a --limit other than the default, so no filtered snapshot enters the series. Closes #4690
67ebb66 to
a22a428
Compare
|
The first push failed one test in Local run after the rebase onto 2eeb814: |
🤖 I have created a release *beep* *boop* --- ## [0.114.0](v0.113.0...v0.114.0) (2026-11-11) ### Features * **k8s:** add cert-manager and the Barman Cloud plugin ([#4789](#4789)) ([cd6fb76](cd6fb76)) * **roadmap:** collect the git facts of a project review window ([#4794](#4794)) ([21d1bc0](21d1bc0)) * **roadmap:** consolidate has a read-only MCP mirror ([#4807](#4807)) ([2ec561d](2ec561d)) ### Bug Fixes * **ai:** devops ai agents detects the project manifest ([#4790](#4790)) ([e8d1e53](e8d1e53)) * **mcp:** bound the gh resources longer than a GitHub read ([#4844](#4844)) ([7f09921](7f09921)) * **roadmap:** run stage before refine on the model lane ([#4841](#4841)) ([96c9bee](96c9bee)) * **roadmap:** stop refusing test paths in base docstrings ([#4826](#4826)) ([1bbfce0](1bbfce0)) * **telemetry:** key the project gauges by repository ([#4804](#4804)) ([9f0e0c8](9f0e0c8)) ### Performance Improvements * **ci:** run the in-image suite nightly and on image pull requests ([#4828](#4828)) ([a2cfd9a](a2cfd9a)) --- 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>
The metrics row of the Service sends the project snapshot of each managed repository from one process, but the devops_cli_project_* series had no repo label. So the repositories overwrote each other's series, and the stars and release panels showed the value of the repository that wrote last. The item counts also sent 0 for the label sets of the repository before.
Each point of a devops_cli_project_* instrument now carries the casefolded owner/name of its report as repo (ADR 0022), and the 0 for an item label set that goes away is kept per repository. devops gh metrics --emit-telemetry refuses --milestone and a --limit other than the default, before any request, so no filtered snapshot enters the series. The dashboard queries aggregate over the new label until the project-metrics dashboard item adds the filter.
Closes #4690
Change:
openspec/changes/archive/2026-11-11-4690-key-the-project-gauges-by-repository/