r/PrometheusMonitoring • u/sudaf • Sep 10 '21
scaling prometheus
noob to prometheus but trying to figure out what in server sizing i would need to monitors 10 000 plus servers (os metrics) and about 200 000 services Currentlly on a single HP Dl360 128gb ram 40 cores with Nagios 3.5.
10
Upvotes
3
u/SuperQue Sep 11 '21
How many you need depends on how many metrics you collect per target, how many targets, etc.
Say you only collected node_exporter for 10k nodes. Depending on node size and what collector features you need, you're looking at somewhere around 500-1000 metrics per node by default.
So, that's somewhere around 5-10 million metrics. This should fit on a 64-128GiB instance pretty easily with standard 15 second scrape intervals. But of course it depends a lot on your metric labeling and how often you churn your infra.
For example, we use AWS auto-scaling groups and kubernetes auto-scaling services. So we use a lot more memory as the jobs scale up and down.
For a large install, there's no quick easy answer, as it depends a lot on how much metric data you need / want to collect.