Setup. Grafana Cloud Free, region prod-us-west-0, Grafana 13.4. One Grafana-managed recording-rule group, interval 5m, five recording rules, no explicit target data source (so they write to the stack’s default hosted Prometheus, grafanacloud-prom). Three rules query Loki and two query Prometheus. One of the Prometheus rules is just vector(time()), used as a heartbeat.
Symptom. Several times a week, the rules whose query returns series stopped producing samples for 1 to 16 hours. That included the vector(time()) heartbeat, which reads no data. Rules in the same group whose query returned no series kept evaluating every 5 minutes. Seven windows, all UTC:
- 2026-10-27 05:45–17:25
- 2026-10-28 11:30–18:40
- 2026-11-01 12:00–16:10
- 2026-11-01 21:40–22:50
- 2026-11-02 16:20–22:35
- 2026-11-03 13:22 – 2026-11-04 05:17
- 2026-11-05 05:07–06:07
What we saw from our side.
- In the usage-insights request log (
grafanacloud-usage-insights,source=grafana-alert), each affected rule’s query ran 3 times per evaluation, about 1 s apart, with the sametimeparameter. Each returned HTTP 200 within milliseconds, the heartbeat included. Outside the windows each rule’s query ran once per evaluation. We read this as the remote write of the result failing quickly and the evaluation being retried (max_attempts). - In two windows (2026-10-27 from about 09:30, 2026-10-28 from about 12:15), the affected rules made almost no queries for 6–7 hours, while the empty rules in the same group kept running every 5 minutes. That looks like the write hanging and holding the evaluation.
grafanacloud_grafana_instance_alerting_rule_evaluation_failures_total:rate5mwas non-zero only inside the windows (flat 0.0125/s for the whole 16-hour window on Nov 3–4).- The hosted Prometheus tenant was healthy throughout. OTLP ingestion into it continued at 11–50 samples/s, active series were about 3,100 of a 15,000 limit, ingestion was about 27/s of 1,500/s, every query from the ruler returned 200, and no future-timestamped sample preceded any window.
- We could not see the error text. Writes do not appear in the usage-insights log, and the rule’s
lastErroris held only in memory while a window is running. A read-only watcher polled the rules API for 4 days and missed the one window in that time.
What we did. On 2026-11-08 we moved these recordings to the data-source rulers (the Loki ruler for the log queries, the Mimir ruler for the PromQL one) and deleted the Grafana-managed group. Those rulers do not go through Grafana’s recording-rule writer, and so far they write normally.
Questions.
- Is this a known issue with Grafana-managed recording rules writing to the hosted Prometheus on Grafana Cloud?
- Is there a way to see the remote-write error for a Grafana-managed recording rule after the fact (a log, a metric, state history)?
- Could someone at Grafana Labs check the recording-rule writer’s logs for those windows? We can share the stack details privately.