Alert States

Alert States A lifecycle diagram generated by Archify. 01 / Rule evaluation 02 / 'for' wait 03 / Sent to Alertmanager Rule evaluation · expr runs every interval · Rule evaluation Rule evaluation expr runs every interval Inactive · Alert has not fired · Rule evaluation Inactive Alert has not fired Pending · Waiting for 'for' duration · 'for' wait · for Pending Waiting for 'for' duration for Firing · Sent to Alertmanager · Sent to Alertmanager · active Firing Sent to Alertmanager active condition not met expr condition met 'for' duration elapsed condition not met not met within 'for' Legend Rule evaluation start Waiting for 'for' Firing (sent to Alertmanager) Inactive

Alert rule components

  • • expr: PromQL expression that defines the alert condition (required)
  • • for: how long the condition must persist (optional, default 0)
  • • labels / annotations: extra metadata such as severity, summary, runbook_url