Skip to content

feat(telemetry): Add alternatives coverage metrics and alert - #3870

Merged
dan-petty merged 2 commits into
mainfrom
feat/2950-alternatives-coverage-metrics
Nov 7, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/2950-alternatives-coverage-metrics

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The alternatives check ran 34 times in 14 days and searched about 4
times, and no metric or alert showed it.

  • Add the gauges devops_cli_roadmap_alternatives_unchecked_items and
    devops_cli_roadmap_alternatives_oldest_check_age_seconds, and the
    histogram devops_cli_roadmap_alternatives_searches.
  • The Service row sends the two gauges at the start of each round, also
    when the round writes nothing. Each written check observes its
    searches by verdict.
  • Add the alert RoadmapServiceAlternativesNotSearching, with promtool
    unit tests. It fires by repository when the Service made no Firecrawl
    search in 3 days while items have no check.
  • Add the row Alternatives Check to the devops-cli dashboard.

Closes #2950

Change: openspec/changes/archive/2026-11-06-2950-alternatives-coverage-gauge-searches-per-check/

The alternatives check ran 34 times in 14 days and searched about 4
times, and no metric or alert showed it.

- Add the gauges devops_cli_roadmap_alternatives_unchecked_items and
  devops_cli_roadmap_alternatives_oldest_check_age_seconds, and the
  histogram devops_cli_roadmap_alternatives_searches.
- The Service row sends the two gauges at the start of each round, also
  when the round writes nothing. Each written check observes its
  searches by verdict.
- Add the alert RoadmapServiceAlternativesNotSearching, with promtool
  unit tests. It fires by repository when the Service made no Firecrawl
  search in 3 days while items have no check.
- Add the row Alternatives Check to the devops-cli dashboard.

Closes #2950
@dan-petty dan-petty added type/feature Type feature: a new function scope/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results

  • Branch is on origin/main ea216b7 (no rebase needed, no conflicts).
  • Targeted run: tests/roadmap/test_roadmap_alternatives.py, tests/telemetry/test_telemetry_instruments.py, tests/prometheus/test_k8s_monitoring_alerting.py: 274 passed.
  • Pre-push fast static checks: passed.
  • New behavior: the tests were written first. This is a feature, so no fail-to-pass run applies.
  • The premise check is in the proposal section Feasibility.

@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 00:06
@dan-petty
dan-petty merged commit 46a3735 into main Nov 7, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/2950-alternatives-coverage-metrics branch November 7, 2026 00:07
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.76.0](v0.75.0...v0.76.0)
(2026-11-07)


### Features

* **cli:** scaffold a command and a test to project form
([#3868](#3868))
([ea216b7](ea216b7))
* **telemetry:** Add alternatives coverage metrics and alert
([#3870](#3870))
([46a3735](46a3735))

---
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/telemetry OpenTelemetry tracing spans, Prometheus metrics, and Jaeger type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(telemetry): Add alternatives coverage metrics and alert

1 participant