mirror of
https://github.com/grafana/grafana.git
synced 2025-09-19 13:43:13 +08:00

Adds ability to set notifications settings using the Prometheus conversion API. The API now supports a new optional header: X-Grafana-Alerting-Notification-Settings which can be used to specify notification settings. The value of the header is the AlertRuleNotificationSettings structure in JSON: mimirtool rules load alerts.yaml --extra-headers 'X-Grafana-Alerting-Notification-Settings: {"receiver": "my-webhook", "group_by": ["cluster", "pod"]}'