Save your alert rule
The last steps are the notification message and saving.
In this milestone, you add a summary annotation, then save and activate your rule.
In the Configure notification message section, locate the Summary field. The summary is the first line responders see in Slack, PagerDuty, email, and other channels. Keep it brief and use template variables to reference labels or values from your query.
For the QuickPizza alert you built, use:
QuickPizza returned {{ $value }} server errors in the last 5 minutesOther examples for real alerts:
Click Save to save and activate your alert rule.
Your alert rule is now saved and active. Grafana immediately begins evaluating it at your specified interval.
Your alert rule is saved and actively monitoring. When the condition is met and persists past your pending period, the alert fires and notifications are sent to your contact point.
You’ve created a complete alert rule from query to notification.