Introduction
When Prometheus has created a bunch of blocks, we need to regularly perform maintenance on those blocks to make efficient use of the disk and keep the queries performant.
In this blog post, we are going to look at 2 topics, compaction and retention, which happen in the background when Prometheus is running.