The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/alerting/alerting-rules/_index.md

1.6 KiB

aliases canonical description labels title weight
[rules/ unified-alerting/alerting-rules/ ./create-alerts/] https://grafana.com/docs/grafana/latest/alerting/alerting-rules/ Configure alert rules [{products [cloud enterprise oss]}] Configure alert rules 120

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:

  1. Select your data source
  2. Query your data
  3. Normalize your data
  4. Set your threshold

Query, expressions, and alert condition

What are you monitoring? How are you measuring it?

{{< admonition type="note" >}} Expressions can only be used for Grafana-managed alert rules. {{< /admonition >}}

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?