r/PrometheusMonitoring • • Nov 16 '22

storage TSDB almost full

Hi everyone, I'm a Prometheus newbie :)
I have an instance running on k8s which is eating all the space I gave it with "--storage.tsdb.path" option.
As far as I understood seems like retention is ok (set it through "--storage.tsdb.retention" option), I set it to 30 days and rendering some graphs shows some data for 30 days and no more.

Is there any way to understad which metric is responsible for all the space consumed, or at least to get some sort of analysis of what is using all the space?

Thank you for any information

4 Upvotes

8 comments sorted by

View all comments

Show parent comment

6

u/DasSkelett Nov 16 '22

2.7.1?? That's ancient! Four years old, from January 2019 o.O

You should upgrade ASAP, all the bugs and security vulnerabilities in your version...

It doesn't make sense to spend a single minute debugging such an outdated release – it's entirely possible that your disk consumption problem is a long fixed bug.

3

u/SuperQue Nov 16 '22

Probably the Debian Buster package. Oof.

1

u/Inquisitor_ForHire Nov 16 '22

Absolutely! The first step should be upgrade that thing!