# Grafana alerting provisioning — notification policies
# Routes all alerts to Gotify by default.
apiVersion: 1

policies:
  - orgId: 1
    receiver: Gotify
    group_by: ["alertname", "service"]
    group_wait: 30s
    group_interval: 5m
    repeat_interval: 4h
    routes:
      - receiver: Gotify
        matchers:
          - severity =~ "critical|warning"
