WhenWhatByLicenseComment
Oct 19, 2026, 9:33:36 AM
1mo ago
AnswernordicbyteCC BY-SA 4.0Compaction 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
Createdebba_engineerCC BY-SA 4.0Prometheus: nightly TSDB compaction windows cause Grafana queries to time out and remote_write backlog growth