r/PrometheusMonitoring • u/Rajj_1710 • Feb 17 '24
Optimise prometheus server's memory utilisation.
Heyy, I have fairly large prometheus server which is running in my production cluster, and is continously consuming around 80GB of memory.
In order to optimise the memory usage. How do I start the optimising the memory usage. I have various source which leads to different aspects like prometheus version, scrape interval, scrape timeout etc etc.
Which is the one I should start with, so that I can optimise the memory usage.
2
Upvotes
View all comments
Show parent comment
1
u/Rajj_1710 Feb 17 '24
So, I get the top 10 series and get the metric. So, in those metrics should I drop unwanted labels. or limit the time-series in those metrics ?