Prometheus and PromQL 3 · Configuration, rules and alerts

Route alerts

An Alertmanager configuration that groups alerts and sends pages to one receiver.

route:
  receiver: team-email
  group_by: [alertname, job]
  routes:
    - matchers: [severity="page"]
      receiver: on-call
receivers:
  - name: team-email
    email_configs:
      - to: [email protected]
  - name: on-call
    webhook_configs:
      - url: https://example.com/pager

Official Prometheus and PromQL 3 documentation

More configuration, rules and alerts commands

All configuration, rules and alerts commands · Prometheus and PromQL 3 cheatsheet

Was this page helpful?