State and health of alerting rules
The state and health of alerting rules help you understand several key status indicators about your alerts.
Alert rule state
An alert rule can be in either of the following states:
|Normal||None of the time series returned by the evaluation engine is in a
|Pending||At least one time series returned by the evaluation engine is
|Firing||At least one time series returned by the evaluation engine is
Note: Alerts will transition first to
firing, thus it will take at least two evaluation cycles before an alert is fired.
Alert instance state
An alert instance can be in either of the following states:
|Normal||The state of an alert that is neither firing nor pending, everything is working correctly.|
|Pending||The state of an alert that has been active for less than the configured threshold duration.|
|Alerting||The state of an alert that has been active for longer than the configured threshold duration.|
|NoData||No data has been received for the configured time window.|
|Error||The error that occurred when attempting to evaluate an alerting rule.|
Alert rule health
An alert rule can have one the following health statuses:
|Ok||No error when evaluating an alerting rule.|
|Error||An error occurred when evaluating an alerting rule.|
|NoData||The absence of data in at least one time series returned during a rule evaluation.|
Special alerts for
When evaluation of an alerting rule produces state
Error, Grafana Alerting will generate alert instances that have the following additional labels:
|datasource_uid||The UID of the data source that caused the state.|
You can handle these alerts the same way as regular alerts by adding a silence, route to a contact point, and so on.
Related Grafana Cloud resources
How to set up and visualize synthetic monitoring at scale with Grafana Cloud
Learn how to use Kubernetes, Grafana Loki, and Grafana Cloud’s synthetic monitoring feature to set up your infrastructure's checks in this GrafanaCONline session.
Using Grafana Cloud to drive manufacturing plant efficiency
This GrafanaCONline session tells how Grafana helps a 75-year-old manufacturing company with product quality and equipment maintenance.