Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Prometheus monitoring with 1GB of RAM?

Having tried all kinds of flags to avoid keeping much data on the RAM has not succeeded. Even if I restrict "storage.local.memory-chunks" and also "chunks to persistence". I have played around with different values of both parameters, I have almost 1TB of secondary storage attached to it, but still I run out of RAM.

like image 492
Balu Avatar asked Oct 28 '25 14:10

Balu


1 Answers

The settings on https://github.com/RobustPerception/demo_prometheus_ansible/blob/master/roles/prometheus/tasks/main.yml run with all the main components under 1GB total. Depending on how many active time series there are and how much data queries are touching you may need more RAM.

like image 145
brian-brazil Avatar answered Oct 31 '25 11:10

brian-brazil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!