Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
View alert rules
The Alert rules list view page lists all existing alert rules. By default, alert rules are grouped by alert rule type: Grafana-managed (Grafana) or data source-managed (Mimir/Cortex/Loki). The Grafana section also contains alert rules for Prometheus-compatible data sources. You can view alert rules for Prometheus compatible data sources, but you cannot edit them.
When managing large volumes of alerts, you can use extended alert rule search capabilities to filter on folders, evaluation groups, and rules. Additionally, you can filter alert rules by their properties like labels, state, type, and health.
From the Alert rule list page, you can also duplicate alert rules to help you reuse existing alert rules.
View alert rules
To view your alert rules, complete the following steps.
- Click Alerts & IRM -> Alert rules.
- In View as, toggle between Grouped, List, or State views.
- Expand each alert rule row to view the state, health, evaluation details, as well as a list of alert instances resulting from the alert rule.
- Use Search by data sources to view alert rules that query the selected data source.
Grouped view
Grouped view shows Grafana alert rules grouped by folder and Loki or Prometheus alert rules grouped by namespace
+ group
. This is the default rule list view, intended for managing alert rules. You can expand each group to view a list of rules in this group.
State view
State view shows alert rules grouped by state. Use this view to get an overview of which rules are in which state. You can expand each group to view more details.
View alert rule details
To view alert rule details, complete the following steps.
Click Alerts & IRM -> Alert rules.
Click to expand an alert rule.
In Actions, click View (the eye icon).
The namespace and group are shown in the breadcrumb navigation. They are interactive and can be used to filter rules by namespace or group.
The rest of the alert detail content is split up into tabs:
Query and conditions
View the details of the query that is used for the alert rule, including the expressions and intermediate values for each step of the expression pipeline. A graph view is included for range queries and data sources that return time series-like data frames.
Instances
Explore each alert instance, its status, labels and various other metadata for multi-dimensional alert rules.
Use Search by label to enter search criteria using label selectors. For example,
environment=production,region=~US|EU,severity!=warning
.History
Explore the recorded history for an alert rule. You can also filter by alert state.
Details
Debug or audit using the alert rule metadata and view the alert rule annotations.