You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(telemetry): the project gauges reach Prometheus through the pod scrape and through OTLP, so a dashboard panel adds both #2288
The project gauges reach Prometheus through two paths. The pod of the roadmap Service is scraped (prometheus.io/scrape on port 8000 in k8s/devops/roadmap-service/deployment.yaml), and the metrics job also sends the same gauges over OTLP. The metric names are the same.
The panels of the Project & Engineering Velocity dashboard read sum by (...) (last_over_time(<metric>[$__range])). Such a query adds the series of both paths.
The scraped series have an instance label with the address of the pod. A new pod writes a new series, and the series of the old pod keep their last value in the time range.
Reproduction Steps
Run the roadmap Service with the metrics job for more than one round.
In Prometheus, query sum by (job, state) (last_over_time(devops_cli_project_items[2h])).
On 2026-10-08, while the Service ran, the same query on the old name devops_cli_project_items_total at 12:00 UTC returned:
job="kubernetes-pods": closed 648, open 8
job="roadmap-service": closed 652, open 4
A panel that sums both shows 1,300 closed items.
Expected vs Actual Behavior
Expected: a project gauge has the series of one path, so a panel shows the value that the metrics job measured.
Actual: a panel shows the sum of the two paths and of the pods of the time range.
Environment Diagnostics
main at a7dd605. Found while the fix for #2263 was checked against Prometheus. The roadmap Service had 0 replicas, so the current numbers cannot be read.
Proposed remedy
Send each project gauge through one path. The OTLP series has a stable service.instance.id, so a new pod writes the series of the old one. Check what else the pod exposes on port 8000 before the scrape of the pod goes.
Acceptance criteria
A project gauge reaches Prometheus through one path.
A check fails when two paths send the same gauge name.
After a pod restart, a project panel shows the value of the new pod only.
Activity
dan-petty commentedon Oct 26, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate fixes a problem with telemetry data reaching Prometheus incorrectly.The issue causes incorrect dashboard values and impacts monitoring accuracy.Users depend on accurate project velocity metrics from the dashboard.Requires changes to metric sending logic and validation checks.chore(main): release 0.6.5 (#2311)