ACTIVITY
Timeline
Timeline for the post: Prometheus: nightly TSDB compaction windows cause Grafana queries to time out and remote_write backlog growth
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 19, 2026, 9:33:36 AM 1mo ago | Answer | nordicbyte | CC BY-SA 4.0 | Compaction spikes come from lots of small blocks and an overloaded remote_write path. Short-term: increase --storage.tsdb.min-block-duration (try 2h) to reduce how often compaction runs, and throttle remote_write (smaller batches / lower concurrency) so WAL doesn't pile up. Verify by watching Prometheus logs and query latency during the next window. Medium-term: split ingestion (multiple Prometheus shards) or add Thanos/Cortex to handle queries off the TSDB while compaction runs. Revert flags if query shape worsens; architecture changes are the real fix. |
Oct 19, 2026, 9:33:36 AM 1mo ago | Created | ebba_engineer | CC BY-SA 4.0 | Prometheus: nightly TSDB compaction windows cause Grafana queries to time out and remote_write backlog growth |