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
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique policy name |
enabled | boolean | — | Whether the policy is active (default: true) |
priority | integer | — | Evaluation priority (higher = evaluated first, default: 0) |
matchRules | object[] | — | Rules that filter which incidents trigger this policy |
escalation | object | Yes | Escalation chain definition |
Match rules
Match rules filter which incidents trigger the policy. If no rules are defined, the policy matches all incidents.| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Rule type (e.g., tag, monitor_name, region) |
value | string | — | Single match value |
values | string[] | — | Multiple match values |
monitorNames | string[] | — | Monitor names to match (resolved to IDs) |
regions | string[] | — | Regions to match |
Escalation chain
The escalation chain defines an ordered sequence of notification steps:Steps
| Field | Type | Required | Description |
|---|---|---|---|
channels | string[] | Yes | Alert channel names to notify |
delayMinutes | integer | — | Minutes to wait before this step (default: 0) |
requireAck | boolean | — | Require acknowledgement before escalating |
repeatIntervalSeconds | integer | — | Seconds between repeated notifications |
Lifecycle hooks
| Field | Type | Description |
|---|---|---|
onResolve | string | Channel name to notify when incident resolves |
onReopen | string | Channel name to notify when incident reopens |
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.