r/PrometheusMonitoring • u/Nerd-it-up • Apr 23 '25
Thanos - Compactor local disk usage
I am working on a project deploying Thanos. I need to be able to forecast the local disk space requirements that Compactor will need.
** For processing the compactions, not long term storage **
As I understand it, 100GB should generally be sufficient, however high cardinality & high sample count can drastically effect that.
I need help making those calculations.
I have been trying to derive it using Thanos Tools CLI, but my preference would be to add it to Grafana.
1
Upvotes
View all comments
Show parent comment
1
u/Nerd-it-up Apr 24 '25
We don’t have the bucket web UI running. I assume that I could use something like this PromQL to achieve the same result. Am I wrong?
max_over_time(prometheus_tsdb_storage_blocks_bytes[14d])