Menu

This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

Grafana Cloud Enterprise Open source

View alert state

An alert rule and its corresponding alert instances can transition through distinct states during the alert rule evaluation.

A diagram of the distinct alert instance states and transitions.

There are three key components that helps us understand the behavior of our alerts:

View alert rule and instance states

To view the state and health of your alert rules and the status of alert instances:

  1. Click Alerts & IRM -> Alerting.

  2. Click Alert rules to view the list of existing alert rules.

    View alert rule state and alert rule health in Grafana Alerting

    Each alert rule shows its state, health, summary, next evaluation time, and available actions such as Pause evaluation, Silence notifications, Export, Delete, and more.

  3. Click on an alert rule to view additional details and its resulting alert instances.

    View alert rule state and alert rule health in Grafana Alerting

View from the alert rule details page

To view more alert rule details, complete the following steps.

  1. Click Alerts & IRM -> Alerting -> Alert rules.

  2. Click to expand an alert rule.

  3. In Actions, click View (the eye icon).

    Alert rule view page in Grafana Alerting

    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.

View alert state on panels

When an alert rule is linked to a time series panel, the time series panel displays the alert state and alert events.

A heart icon near the panel title shows the current alert state:

  • A broken red heart when the alert is in Alerting state.
  • A green heart when the alert is in Normal state.

Colored annotations indicate changes in alert state, such as pending, alerting, and resolving.

A panel with a firing alert and annotations that display the pending and alerting state changes.

Additionally, Grafana provides an alert list panel that you can add to a dashboard to display a list of alerts and their states.

Two alert list panels displaying distinct lists of alerts.

You can configure the alert list panel with various visualization options and filters to control how alerts are displayed. For more details, refer to the Alert list documentation.

Give it a try using Grafana Play
Give it a try using Grafana Play

With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development. This feature can be seen on this demo dashboard with alert list panels and linked alert rules.