Notification routing strategy

Notification routing strategy

Notification routing strategy

How Grafana-managed alert notifications (see ../../grafana-alert-rules/README.md) are split across Google Chat spaces, and why.

The two tiers

Split by urgency, not by source system - critical and warning both need a human to look at them relatively soon, so they share a channel; info doesn't need action, only awareness, so it's isolated to avoid diluting the urgent one.

Tier

Contact point

Space

Contains

Tier

Contact point

Space

Contains

🔴🟡 Urgent

Google Chat

main space

severity: critical, severity: warning

🔵 FYI

Ops FYI

dedicated low-priority space

severity: info (e.g. CPUThrottlingHigh)

Both contact points use the same compact templates (title + message) documented in NOTIFICATION-TEMPLATES.md.

How it's wired

A single nested route on the default notification policy, matching severity = info and sending it to the Ops FYI receiver instead of the default one (continue: false, so it doesn't also go to the main channel):

{ "receiver": "Google Chat ", "group_by": ["grafana_folder", "alertname"], "group_wait": "30s", "group_interval": "5m", "repeat_interval": "4h", "routes": [ { "receiver": "Ops FYI", "object_matchers": [["severity", "=", "info"]], "continue": false } ] }

Applied via PUT /api/v1/provisioning/policies. Confirmed working end-to-end with a disposable severity: info test rule (for: 5s, deleted right after confirming delivery to the Ops FYI space instead of the main one).

What's deliberately NOT in Ops FYI

  • Bitbucket Pipelines / CI-CD notifications - industry-standard practice is a fully separate channel for these, not merged into either infra tier. Reasoning: very high frequency (every push/merge/deploy), and a different audience (devs want build status, not necessarily infra health) - mixing them either floods the infra channel with deploy noise, or trains people to ignore the deploy channel because infra alerts show up there too. Bitbucket Pipelines has native Chat/Slack integration that would post directly, without going through Grafana/Alertmanager at all. Not built yet - a separate task.

  • Routine ops confirmations (SQL migration completed, secret rotated, K8s upgrade applied) - conceptually belong in Ops FYI alongside the info-severity alerts (same "no action needed, just awareness" bucket), but these don't originate from Grafana at all - they come from wherever those operations already notify today (CI/CD scripts, wfs:send-chat-message, GCP Monitoring policies, etc.), so wiring them here means going to change the destination at each of those sources individually, not a single change in this repo. Not built yet - a separate task.

Why not just "another space" instead of a real strategy

Moving info to its own space reduces noise in the main channel, but it doesn't eliminate the need to check it at all - someone still has to remember to look. The more effective long-term fix for true "zero noise, no missed context" is a periodic digest: a scheduled job that queries Grafana/Prometheus once a day/week and posts one summary message, reviewed on your schedule instead of Grafana's. Flagged as a future upgrade in ../ALERTING-PLAN.md §3 (P3 tier) - not built yet, worth revisiting if Ops FYI ends up being ignored in practice the same way a single merged channel would be.