Configure alert rules
An alert rule consists of one or more queries and expressions that select the data you want to measure. It also contains a condition, which is the threshold that an alert rule must meet or exceed in order to fire.
Create, manage, view, and adjust alert rules to alert on your metrics data or log entries from multiple data sources — no matter where your data is stored.
The main parts of alert rule creation are:
- Select your data source
- Query your data
- Normalize your data
- Set your threshold
Query, expressions, and alert condition
What are you monitoring? How are you measuring it?
Note
Expressions can only be used for Grafana-managed alert rules.
Evaluation
How do you want your alert to be evaluated?
Labels and notifications
How do you want to route your alert? What kind of additional labels could you add to annotate your alert rules and ease searching?
Annotations
Do you want to add more context on the alert in your notification messages, for example, what caused the alert to fire? Which server did it happen on?
Was this page helpful?
Related resources from Grafana Labs
![Getting started with the Grafana LGTM Stack](/static/assets/featured/getting-started-with-grafana-lgtm-stack-amer_featured.png?w=200 200w, /static/assets/featured/getting-started-with-grafana-lgtm-stack-amer_featured.png?w=400 400w)
![Intro to Kubernetes monitoring in Grafana Cloud](/media/webinar/Screenshot-2024-02-12-at-4.09.30-PM.png?w=200 200w, /media/webinar/Screenshot-2024-02-12-at-4.09.30-PM.png?w=400 400w)
![Building advanced Grafana dashboards](/media/webinar/AMER_buildadv_notxt.png?w=200 200w, /media/webinar/AMER_buildadv_notxt.png?w=400 400w)