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

3.6 KiB

aliases canonical description labels title weight refs
[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 [{alert-rules {pattern /docs/grafana/} {destination /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/alert-rules/}] [{pattern /docs/grafana-cloud/} {destination /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/alert-rules/}} {configure-grafana-alerts {pattern /docs/grafana/} {destination /docs/grafana/<GRAFANA_VERSION>/alerting/alerting-rules/create-grafana-managed-rule/}] [{pattern /docs/grafana-cloud/} {destination /docs/grafana-cloud/alerting-and-irm/alerting/alerting-rules/create-grafana-managed-rule/}} {configure-ds-alerts {pattern /docs/grafana/} {destination /docs/grafana/<GRAFANA_VERSION>/alerting/alerting-rules/create-data-source-managed-rule/}] [{pattern /docs/grafana-cloud/} {destination /docs/grafana-cloud/alerting-and-irm/alerting/alerting-rules/create-data-source-managed-rule/}} {recording-rules {pattern /docs/grafana/} {destination /docs/grafana/<GRAFANA_VERSION>/alerting/alerting-rules/create-recording-rules/}] [{pattern /docs/grafana-cloud/} {destination /docs/grafana-cloud/alerting-and-irm/alerting/alerting-rules/create-recording-rules/}} {alert-types-comparison-table {pattern /docs/grafana/} {destination /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/alert-rules/#comparison-between-alert-rule-types}] [{pattern /docs/grafana-cloud/} {destination /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/alert-rules/#comparison-between-alert-rule-types}} {templating-labels-annotations {pattern /docs/grafana/} {destination /docs/grafana/<GRAFANA_VERSION>/alerting/fundamentals/templates/}] [{pattern /docs/grafana-cloud/} {destination /docs/grafana-cloud/alerting-and-irm/alerting/fundamentals/templates/}}]

Configure alert rules

Alert rules are the central component of your alerting system.

An alert rule consists of one or more queries and expressions that select the data you want to measure. It contains a condition to trigger the alert, an evaluation period that determines how often the rule is evaluated, and additional options to manage alert events and their notifications.

Grafana supports two types of alert rules:

  1. Grafana-managed alert rules: These can query multiple data sources.

  2. Data source-managed alert rules: These can only query Prometheus-based data sources and support horizontal scaling.

We recommend using Grafana-managed alert rules whenever possible, and opting for data source-managed alert rules when horizontal scaling is required. Refer to the comparison table of alert rule types for a more detailed overview.

Both types of alert rules can be configured in Grafana using the + New alert rule flow. For step-by-step instructions, refer to:

  • Configure Grafana-managed alert rules
  • Configure data source-managed alert rules
  • Create and link alert rules to panels

Alert rules can also query metrics generated by recording rules. To learn more, refer to:

  • Create recording rules