Set or clear maintenance window
snooze_monitorSet or clear a maintenance window on a monitor to suppress incidents for missed deadlines and failing probes while still recording activity.
Instructions
Requires the write scope or higher. Sets or clears a maintenance window on a monitor. During it, deadline incidents (a missed or never-started run, an overrun, a stall, a blocked run outliving blocked_timeout_s) and, on an HTTP monitor, failing probes (any fail there counts as a probe's) are recorded but open no incident; a site still failing afterwards opens one on its next failure. Still notified: the job's own fail ping, the page a blocked ping queues, a runaway ping rate, and routed note, started, success and every-run events. Takes exactly one of duration, until or clear=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Monitor UUID. | |
| clear | No | true removes the active maintenance window. | |
| until | No | RFC 3339 end timestamp. One of duration, until or clear. | |
| duration | No | Go duration string, e.g. '1h' or '24h'. One of duration, until or clear. |