Skip to content

docs(openspec): plan #2233 add Service pause and GraphQL gauges - #2984

Merged
dan-petty merged 1 commit into
mainfrom
feat/2233-the-roadmap-service-sends-its-round
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/2233-the-roadmap-service-sends-its-round

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2233

Add two Prometheus gauges to the roadmap Service so an operator can alert on a paused Service or a low GraphQL budget without querying Loki. The Service already logs its round pause end time and its remaining GraphQL points after each round. This change sends both values as gauges through the existing OTLP path. - devops_cli_service_paused_until_seconds: the Unix time the round pause ends, or 0 when no pause holds. - devops_cli_github_graphql_remaining: the GraphQL points left from each round's closing budget read. Both are gauges, so their names do not end in _total. A dashboard reads them with last_over_time. The change adds two Instrument definitions to instruments.py, adds emit() calls at the Service's existing log points, adds tests that capture the gauges, and lists both in docs/

Change: openspec/changes/2233-the-roadmap-service-sends-its-round/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 1, 2026 06:32
@dan-petty
dan-petty merged commit cbd1cf3 into main Nov 1, 2026
18 checks passed
@dan-petty
dan-petty deleted the feat/2233-the-roadmap-service-sends-its-round branch November 1, 2026 10:20
dan-petty added a commit that referenced this pull request Nov 1, 2026
This change removes the plan folder for #2233 from main.

The plan assumes two things. The Service reads a GraphQL budget after
each round. The Service also pauses a round until a set time. Neither is
true on main.

Newer work (#2399 and ADR 0016) deleted the budget read and the round
pause. The evaluation of PR #2984 found that the plan has no base to
build on. A plan with no base would make the implement Job stop or add
dead code.

The folder is deleted. No code, test or other change folder changes.

Plans #2233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant