Escalation policies
If the on-call person doesn't acknowledge in N minutes, page someone else.
Escalation policies
An escalation policy is a stack of levels, numbered from 1. The initial page is the down alert itself, sent by the monitor's alert rules. Level 1 fires if the incident isn't acknowledged within its delay_minutes of the incident opening; each later level fires delay_minutes after the one before it.
Mental model
text0:00 Incident created. Primary on-call paged via Slack channel + @-mention.0:05 No ack yet. Level 1 fires → @-mention CTO directly.0:15 Still no ack. Level 2 fires → post to #incident-major channel.
Each level has:
- Delay — minutes after the previous level
- Target type —
user(specific person) /schedule(current on-call of another schedule) /channel(Slack channel) - Target — the user/schedule/channel id
Acking the incident (via dashboard, Slack button, or /happyuptime ack) stops escalation immediately.
Setup
Open the schedule's Escalation modal
On-Call → Schedules → click Escalation on the schedule card.
Add level 1
Click Add level. Default values: level 1, 5 min delay.
Pick the target:
- Specific user — fires a Slack DM to that user.
- Another schedule — resolves the current on-call of the target schedule and pages them.
- Slack channel — broadcasts to the channel.
Save.
Add more levels (optional)
Add level 2 with a longer delay (e.g. 15 min) targeting a wider audience or a different person.
How the timer fires
A cron (every minute) walks open oncall_escalation_state rows, oldest first:
- Rows whose incident has been acknowledged or resolved are closed (
resolved = 1). - The next level is the lowest level above the last one that fired, so a gap (levels 1 and 3) goes straight from 1 to 3.
- A row is due when
now - last_escalated_at >= delay_minutesof that next level. Due rows fire and record the newcurrent_level. - Once the last level has fired there is nothing left to fire, and the row is no longer read. It stays open until the incident is acknowledged or resolved.
Escalation state starts when an auto-incident is created (only if the project has at least one schedule with a policy). It starts even when the monitor is muted; the mute holds its levels, as below.
Many incidents at once
When several incidents reach the same level of the same policy in the same minute, as when a data source marks nine boxes down together, the level posts once:
text🚨 Level 3 escalation — 9 open incidents, unacknowledged for 32m• B3IQ box 4 is not responding• …+N more[ Acknowledge all 9 ] [ View incidents ]
Each incident still gets its own escalation state, its own alert_log delivery row and its own audit row. Acknowledge all acknowledges each incident separately, exactly as if you had clicked Acknowledge on each, and skips any already acknowledged or resolved. A list of more than about 90 incidents is kept in KV for a day; if that write fails, the post still goes out without the button. A single due incident gets the usual post with Acknowledge / Resolve buttons.
Muted monitors
/happyuptime mute <monitor> <duration> (or a Mute button) holds escalation for incidents opened by that monitor. A level that comes due while the monitor is muted waits; it fires when the mute ends if the incident is still open and unacknowledged. An incident opened while its monitor is muted starts escalation held in the same way, and its timeline says so. If it is still open and unacknowledged when the mute ends, the first level fires.
Escalating manually
Slack alert messages have an Escalate button. Clicking it calls escalateIncident() directly — notifies the next level's target without waiting for the timer. Manual escalation ignores mutes.
API
textGET /oncall/schedules/:id/escalation # list policy levelsPOST /oncall/schedules/:id/escalation # upsert a level (level must be 1 or higher)DELETE /oncall/schedules/:id/escalation/:pid # delete a level
Patterns
- Level 1 (after 5 min): page the engineering manager directly.
- Level 2 (after 15 min): post to #incident-major channel for full team awareness.
- Level 1 (after 10 min): target the "Backup On-Call" schedule. Resolves to the current on-call of that schedule, so the backup person rotates without you having to update the policy.
Use longer delays (30 min, 60 min) for lower-priority schedules where waking up the team mid-night isn't justified.