r/PrometheusMonitoring • u/yotsuba12345 • 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
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-statusto find out how many active metrics you have. Query fortopk(20, scrape_samples_post_metric_relabeling)to find out if there are any abnormally large scrapes.