Killed process 203738 (prometheus) total-vm:241826816kB, anon-rss:185585992kB, file-rss:0kB
We have a lot of metrics(> 10000) and a lots of instances (> 1000),how to optimize prometheus memory usage?Thanks~
Stuart Clark
unread,
Aug 5, 2020, 4:39:00 AM8/5/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Liu Chang, Prometheus Users
To reduce memory usage you would need to reduce the number of
time series being scraped. This is often done by sharding -
different Prometheus servers for different groups of targets or
different applications.