#11112·prometheus

压缩导致配置的 storage.tsdb.retention.size 超出 (存在耗尽磁盘空间的风险)

作者: frittentheke创建于 2022年8月3日更新于 2026年9月28日
标签help wantedpriority/P3component/tsdb

摘要 / TL;DR

用于存储的设置限制(storage.tsdb.retention.size)在压缩过程中被违反,这会导致磁盘空间不足的风险。原因是 Prometheus 没有考虑到临时块所需的空间。请参见建议部分,了解两种建议方法来解决此问题,使 Prometheus 能够可靠地避免超出其允许的限制。

内容来源: prometheus/prometheus