ObserveNow
Alerting
Notification Policies
Notification Policies are used to route different alerts to different contact points based on label matchers. Grafana provides a root notification policy by default which is used if there is no notification policy set or if an alert doesn't match any existing notification policy. To create a notification policy, refer the following steps:
- Navigate to Alerting → Notification Policies in the menu on the left.
- Click on + New specific policy button.
- Click on + Add matcher.
- Add the label based on which the alert needs to be routed. Multiple matchers can be added, and the alert will be matched to the policy only if all the matchers added are present as alert labels.
- A nested policy can also be added to further narrow down labels.
- To know more about how routing works with multiple notification policies and nested policies click here.
The notification policies can be edited and deleted at will barring the root notification policy which cannot be deleted.