Prometheus data store limit

445 views
Skip to first unread message

Take It Easy

unread,
May 10, 2017, 3:29:31 AM5/10/17
to Prometheus Developers
Hi ,

I am new to Prometheus. Want to understand..what is prometheus storage limit? I am getting daily 35M data and i want to store 7 days data for my dashboard purpose.Did Prometheus will store this much data without any problem and how much time will take for running any basic query?


Alex

Brian Brazil

unread,
May 10, 2017, 4:02:02 AM5/10/17
to Take It Easy, Prometheus Developers
On 10 May 2017 at 08:29, Take It Easy <sikka...@gmail.com> wrote:
Hi ,

I am new to Prometheus. Want to understand..what is prometheus storage limit? I am getting daily 35M data and i want to store 7 days data for my dashboard purpose.Did Prometheus will store this much data without any problem and how much time will take for running any basic query?


If you mean 35M samples/day, that'll be no problem for Prometheus as that's only 400 samples/s. If that's 35M new timeseries, that's beyond what Prometheus 1.x can easily handle.


--

Ben Kochie

unread,
May 10, 2017, 4:50:05 AM5/10/17
to Take It Easy, Prometheus Developers
The default configuration flag[0] is to store 2 weeks of data.  It will automatically truncate old data at that expiration time.


[0]: ./prometheus -storage.local.retention=360h

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/7177766f-f0ef-49a0-9558-057fe7a16757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Take It Easy

unread,
May 10, 2017, 2:43:50 PM5/10/17
to Prometheus Developers, sikka...@gmail.com

Thanks Brian and Ben

On Wednesday, May 10, 2017 at 1:50:05 AM UTC-7, Ben Kochie wrote:
The default configuration flag[0] is to store 2 weeks of data.  It will automatically truncate old data at that expiration time.


[0]: ./prometheus -storage.local.retention=360h
On Wed, May 10, 2017 at 9:29 AM, Take It Easy <sikka...@gmail.com> wrote:
Hi ,

I am new to Prometheus. Want to understand..what is prometheus storage limit? I am getting daily 35M data and i want to store 7 days data for my dashboard purpose.Did Prometheus will store this much data without any problem and how much time will take for running any basic query?


Alex

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages