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(monitoring): RoadmapServiceGitHubWritesHigh counts a request with no method label as a write, so it fired on 341 reads #2574
RoadmapServiceGitHubWritesHigh (group roadmap-service-activity, k8s/monitoring/prometheus-values.yaml, #2475) selects the writes with a negative matcher: devops_cli_github_requests_total{job="roadmap-service", method!="GET", resource!="graphql"}. In PromQL, method!="GET" also matches a series that has no method label, because an absent label reads as the empty string. So every request of a series without the label counts as a write.
On 2026-10-29 at 00:28 UTC the rule fired with 341 "writes". That was every GitHub request of the hour: the running pod was built before #2475, so none of its series had a method label (count by (method) (...) gave one series for core and one for graphql, both without method). The same false alert comes back for any source of the counter that does not set method, such as a cluster Job built from an older image.
Reproduction Steps
Keep a devops_cli_github_requests_total{job="roadmap-service", resource="core"} series with no method label and more than 300 requests in an hour.
Evaluate the rule.
It fires, although the series holds no write.
Expected vs Actual Behavior
Expected: the rule counts only the write methods, with a positive matcher: method=~"POST|PUT|PATCH|DELETE" (with resource!="graphql" as now, because GraphQL sends a read as a POST). A series with no method label counts nothing. A promtool unit test shows that a series without method does not fire the rule, and tests/test_k8s_monitoring_alerting.py pins the new expression.
Actual: the rule fired at 341 on reads.
Environment Diagnostics
Rules from main after #2556. Pod roadmap-service-c645459dc-58wgp, image from before #2556.
Activity
dan-petty commentedon Oct 29, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
The alert rule fires on reads because a negative matcher also matches series with no method label.A false alert fires on every read request, causing alert fatigue, but the service itself is not blocked.False alerts erode trust in the monitoring stack and waste on-call time on every occurrence.The fix replaces one PromQL matcher and adds a promtool unit test plus a pin in the existing test file.Both fix a PromQL expression in the same alert group in prometheus-values.yaml, but #2505 fixes increase() on a new series while this fixes a false match on absent method labels.chore(main): release 0.13.0 (#2581)