prometheus/prometheus

tsdb: [feature request]: detect and stop compacting blocks that result with index file size >64Gi

Open

#5,868 建立於 2019年3月19日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)Go (64,042 star) (10,408 fork)batch import
component/tsdbhelp wantedkind/enhancementpriority/P3

描述

We're actually running into this on our largest cluster and it's brought thanos compaction to a standstill. I'm whittling away at cardinality, sharding our scrape targets where possible and backing down our retention policies. Hopefully all of the above will do the trick in the near-term, but it would be great to not have to worry about this in the future.

https://github.com/prometheus/tsdb/blob/e7436e13f07511ee669876905f5147ae1713f5bd/index/index.go#L233

貢獻者指南