feat(secrets-manager-gke): Page on load balancer error SLO violations
Why this MR ?
- None of the
secrets-manager-gkealerts that can fire pages, so the 2026-10-20 OpenBao outage was reported by a user almost 2 hours after it started - https://gitlab.com/gitlab-com/gl-infra/production/-/work_items/23296 - The load balancer error SLO (service level objective) alert fired within 10 minutes of that outage starting and stayed on, but it is
s4
What does this MR do ?
- Raise the
runway_gke_lbSLI tos2, so its error andTrafficCessationalerts page in production - Give its error alerts a 45m
alertForDuration, so pod promotions and single5xxdon't page - Keep
runway_backendats4. It sees the same requests behind the load balancer, so paging on both would page twice - Add a route that keeps the staging copies of
secrets-manager-gkepager alerts in#alerts. Without it the pager route posts them to#production. This also moves the staging copy ofKubeContainersWaitingInErrorthere - Route its
TrafficAbsentto the team channel only, ahead of incident.io, like the audit event streaming NATS alerts. At low traffic the load balancer series has gaps of 30 minutes or more, and this alert fired 10 times in production from 2026-07-19 to 2026-09-22, all around 04:00 UTC and none during an outage - Add routing tests and update the runbook
- Goes with !12004 (merged), in either order. The runbook here names its two alerts, and they page on what this MR misses: outages shorter than 45 minutes and a full traffic stop
How 45m was picked
Production, 2026-10-04 to 2026-11-03, ALERTS{alertstate=~"pending|firing"} in mimir-runway at a 1m step:
SecretsManagerGkeServiceRunwayGkeLbErrorSLOViolation |
Longest run |
|---|---|
| 6h window, 2026-10-20 outage | 226 min, from 04:06 |
| 6h window, every other run (6) | 26 min |
| 1h window, 2026-10-20 outage | 59 min |
| 1h window, every other run | 6 min |
The other runs line up with pod promotions or single 5xx. At 45m the outage pages at about 04:51, instead of the 05:52 report.
TrafficCessation for this SLI never fired in production over 180 days. It needs the load balancer series at zero, but when traffic is quiet the series mostly disappears: over those 180 days it read zero 3 times at a 5m step, and the raw series had gaps of up to about 95 minutes. So a full traffic stop shows up first as the Slack-only TrafficAbsent. !12004 (merged) pages on it after 2 hours, and on restart loops, which are the only page for an outage shorter than 45 minutes.
The 1h error rule needs 1 request per second over the hour, which production met 38% of the time in those 30 days. The 6h rule needs 0.167 and met it 100% of the time, so the 6h rule is the one that pages.
Production pager alerts from this service go to the team channel through feature_category. !12004 (merged) adds a restart-loop alert that routes through team. Both receivers post to #sec-secrets-manager-alerts.
References
- Issue - gitlab-org/gitlab#611251
- Incident review - https://gitlab.com/gitlab-com/gl-infra/production/-/work_items/23296
- Escalation path to the team, still open - gitlab-org/gitlab#635678