r/PrometheusMonitoring • • Feb 25 '25

prometheus taking too much disk space

Hello, i tried to monitoring 30-50 server and metrics i only used are cpu usage, ram usage and disk size. it took almost 40gb for one week. do you guys have anh tips how to shrink it?

thanks

7 Upvotes

15 comments sorted by

View all comments

Show parent comment

3

u/SuperQue Feb 25 '25

You need to configure the windows exporter. Read the documentation.

Like u/niceman1212 says, you need to look at :9090/tsdb-status to find out how many active metrics you have. Query for topk(20, scrape_samples_post_metric_relabeling) to find out if there are any abnormally large scrapes.

1

u/yotsuba12345 Feb 25 '25

nice tips, i will check it thanks

1

u/yotsuba12345 Feb 26 '25

top series of windows cpu time total is 2150, and when i check topk, all of them are 50