Repository navigation
fix(telemetry): the project items gauge counts the items of the project board by milestone, state, type and priority - #2290
Conversation
…ct board by milestone, state, type and priority The gauge took its counts from the REST milestones, so an open item in no milestone was never counted and the velocity dashboard showed 0 open items. It now counts the items that the roadmap store reads from the board, with the labels milestone, state, type and priority. A label set that left a snapshot is sent once as 0, because Prometheus keeps the last sample of a series that stops.
|
Evidence for #2263. Fail-to-pass. Local gate. Real repository. Prometheus. Not checked. The numbers on the live dashboard. The roadmap Service has 0 replicas, so no snapshot arrives. When it runs, the same gauge also reaches Prometheus through the pod scrape and through OTLP, and a Pending a person: review the diff in tuicr ( |
🤖 I have created a release *beep* *boop* --- ## [0.6.2](v0.6.1...v0.6.2) (2026-10-26) ### Bug Fixes * **ai:** the claude provider sends what current Claude models accept, built by the anthropic SDK ([#2285](#2285)) ([59471a4](59471a4)) * **ai:** the openai provider without ai.api_base_url calls the OpenAI API's /v1 routes, built by the openai SDK ([#2286](#2286)) ([a7dd605](a7dd605)), closes [#1427](#1427) * **ci:** pin ty in the dev group so a new release cannot fail uv check on main ([#2284](#2284)) ([3936fe6](3936fe6)), closes [#2281](#2281) * **security:** query documented radar api with token and mark failed lookups unverified ([#2289](#2289)) ([c52af09](c52af09)) * **telemetry:** the project items gauge counts the items of the project board by milestone, state, type and priority ([#2290](#2290)) ([853296c](853296c)) --- 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 project items gauge took its counts from the REST milestones. Intake puts a new item in the backlog with no milestone, so an open item in no milestone was never counted. With no open milestone, the velocity dashboard showed 0 open items.
The gauge now counts the items of the project board, open and closed. The roadmap store reads them, and the Service job counts the items of the store it already opened. Each count has the labels
milestone,state,typeandpriority. A label is empty when the item has no value for it, for example the milestone of an item in no milestone.devops gh metricsreads the board that.github/roadmap.tomlnames. It fails when it cannot read the board, so a failed read is never an empty board.A series that stops arriving keeps its last sample in
last_over_time. A label set that had items in the last snapshot and has none in the new one is therefore sent once as 0.The panels "Items by Milestone" and "Active Items by State", the description of the instrument and
docs/TELEMETRY.mddescribe what the gauge counts. The first panel shows an item in no milestone asnone.Closes #2263
Change:
openspec/changes/archive/2026-10-26-2263-project-items-gauge-counts-board/