Give me some suggestions about usage of Prometheusm in my business, Thx!

113 views
Skip to first unread message

Nova

unread,
Aug 7, 2017, 10:43:52 PM8/7/17
to Prometheus Users

I want to store nearly 2000 machines' metrics and there are 70 metrics of each machine, 


and `scrape-interval = 10s`


so what kind of configuration or performance of my Prometheus server needs at least?


and In that case, how do I make the configuration?


like this:



-storage.local.retention=2160h 
-storage.local.memory-chunks=5242880 
-storage.local.max-chunks-to-persist=3097152 
-storage.local.num-fingerprint-mutexes=10240 
-storage.local.series-file-shrink-ratio=0.2 
-storage.local.checkpoint-interval=5m 



Looking forward to your suggestions.


Best regard!

Nova

unread,
Aug 13, 2017, 10:02:26 PM8/13/17
to Prometheus Users
Anybody here??

在 2017年8月8日星期二 UTC+8上午10:43:52,Nova写道:

Matthias Rampke

unread,
Aug 14, 2017, 3:48:35 AM8/14/17
to Nova, Prometheus Users

Hello,

the ins and outs of the storage and memory requirements are documented here:

https://prometheus.io/docs/operating/storage/

Specifically, it states that the default settings are suitable for up to 200000 time series. 70 metrics * 2000 nodes = 140000 time series, so you should be okay with the defaults.

/MR


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8cb7584d-e258-4668-898e-51110ae9b3c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nova

unread,
Aug 16, 2017, 10:03:40 PM8/16/17
to Prometheus Users, lvzhu...@gmail.com
but my scrape-interval is 10s, is that OK?

在 2017年8月14日星期一 UTC+8下午3:48:35,Matthias Rampke写道:

Matthias Rampke

unread,
Aug 17, 2017, 3:14:48 AM8/17/17
to Nova, Prometheus Users

Yes, probably. It also plays a role for overall data size (how much time fits in a chunk) how smooth your data is, so you'll really have to try and see.

/MR


Reply all
Reply to author
Forward
0 new messages