Set evaluation behavior and labels
The evaluation behavior determines how often Grafana checks your alert condition and how long the condition must persist before firing. Labels help organize your alerts and drive notification routing.
To configure evaluation behavior and labels, complete the following steps:
In the Set evaluation behavior section, select or create a folder for your alert rule.
Folders help organize alert rules by team, service, or purpose.
For example, select or create a folder named
Infrastructure alertsorApplication logs.Select or create an Evaluation group.
Evaluation groups batch rules that share the same evaluation interval.
Set the Evaluation interval—how often Grafana runs your query and checks the condition.
For example, enter
1mfor critical alerts or5mfor less urgent monitoring.Set the Pending period (also called “for” duration)—how long the condition must be true before the alert fires.
Tip: A 5-minute pending period with a 1-minute evaluation means the condition must be true for 5 consecutive checks before firing.
In the Add labels section, add labels that identify and categorize your alert:
Click + Add label.
Enter a label key and value.
For example:
severity:warningorcriticalteam:platformordatabasetype:metricsorlogsservice:api-gatewayorpayment-service
In the Add annotations section, optionally add context for responders:
Summary: Brief description of what’s wrong.
Description: Detailed context or troubleshooting steps.
Runbook URL: Link to documentation for responding to this alert.
In the next milestone, you’ll configure where notifications are sent when this alert fires.
At this point in your journey, you can explore the following paths:
