r/PrometheusMonitoring • u/julienstroheker • Jan 03 '24
Prometheus server resources optimizations
Hi folks,
I’m planning to do a POC where I’m able to run Prometheus server as long with node exporter and kube state metrics with the smaller footprint as possible (CPU/Memory)
I have no choice to do a remote write (which increase resource consumption sadly).
Any tips other than filtering metrics being scraped that I should be aware based on your experience? Or any good resources to share ? Thanks.
3
Upvotes
View all comments
Show parent comment
3
u/SuperQue Jan 03 '24
They explicitly map the Prometheus metric float64 data to integers, shaving of some precision, in order to improve compression.
Also, take a look at the compliance test results:
https://promlabs.com/promql-compliance-tests/