Basically I am looking for a equivalent of 1.x storage.local.target-heap-size.
I have a prometheus app(running in a 6 core, 32G box) that pulls about host metrics from 2000 VMs. Scrape interval 5mins.
Within few mins my RAM usage increases up to 29-30GBs and later in 10-15mins, it dies with OOM or server is Unavailable from UI.
Any way we can tell prometheus to use a defined max RAM ?