notificationPolicies section of devhelm.yml controls how incidents are routed to alert channels. Each policy has match rules that filter incidents and an escalation chain that defines notification steps.
Policy fields
Match rules
Match rules filter which incidents trigger the policy. If no rules are defined, the policy matches all incidents.Escalation chain
The escalation chain defines an ordered sequence of notification steps:Steps
Lifecycle hooks
Priority and evaluation
Policies are evaluated in descending priority order. The first matching policy handles the incident. Use priority to ensure specific policies (e.g., production-only) take precedence:Complete example
Next steps
Alert channels
Define the channels referenced in your policies.
Notification policies reference
Understanding match rules and escalation logic.