Grafana / Editorial solution guide

An alert enters No Data or Error

Separate an empty evaluation from a failed query and verify the configured alert response.

About 3 min readContent reviewed

Read-only knowledge base · No public comments

Recognize the symptoms

A Grafana-managed alert rule enters No Data or Error, or its notification differs from the response expected when a monitored service stops reporting. A panel may still show historical values.

Understand the likely causes

  • The alert query can return no data in its evaluation window, fail due to a source or authorization problem, or evaluate a different range or identity from the panel. Configured handling and notification routing affect the observed outcome.

Capture the rule and evaluation evidence

Record the Grafana version, rule identity, data source, evaluation time, query range, labels and sanitized evaluation result. Separate a successful query with no returned data from an evaluation error; preserve the actual error message and source status. Check whether the rule is Grafana-managed and review the deployed version’s behavior. A dashboard displaying an older sample does not establish that the alert query returned a current value.

Inspect the source and intermediate result

Using an authorized bounded query, compare the alert’s exact source, credentials, time window and filters with the expected metric or log stream. Inspect intermediate query and expression results where available, including the labels that identify each instance. Determine whether data stopped arriving, a filter excludes it, access failed or evaluation timed out. Avoid broadening permissions or changing the source as a generic fix; correct the specific boundary established by the evidence.

Review missing-data handling and routing

Inspect the rule’s configured No Data and Error behavior, pending period and notification policy for the actual rule type and version. A missing series among other returned series can be different from a query returning no data at all; review the applicable instance lifecycle documentation. Agree with the service owner whether a source outage should page, remain pending or follow another documented response. Do not silence the rule solely to clear its state.

Exercise empty, error and healthy cases

In a disposable alert rule and data source, test a known healthy series, an intentionally empty query and a controlled query failure. Observe evaluation states, instance labels and routing to a test contact point without notifying real responders. Restore the healthy fixture and verify recovery according to the configured timing. Retain the version, rule configuration and observed timestamps; a single green panel or successful notification cannot verify all three paths.

Verify the fix

After the approved correction, compare the rule evaluation and source data for a representative interval, and confirm the expected test notification and recovery state. Keep the original sanitized error and configuration for the incident record.

Keep it from recurring

  • Monitor ingestion and alert evaluation separately, document missing-data behavior with service owners and test routing after source or rule changes. Review instance labels and time windows whenever a panel and rule are modified.

Official references