Re: [prometheus-developers] Maximum length of a time series in Prometheus
Although, I haven't actually checked to see if negative timestamps are supported. On Mon, Mar 27, 2023 at 3:38 PM Ben Kochie wrote: > Prometheus timestamps are in int64 (signed) milliseconds. So the maximum > number of data points per series is: 9,223,372,036,854,775,807 > > On Mon, Mar 27, 2023 at 3:24 PM Stuart Clark > wrote: > >> On 2023-03-27 14:10, Abdelouahab Khelifati wrote: >> > I mean the maximum number of datapoints per time series, not the >> > length of a specific value. >> >> Sorry that is what I was meaning. >> >> There will be loads of resource or performance limitations - such as not >> being able to load the data for very long periods of time without huge >> amounts of memory. However in the normal usage of scrapes around every >> 30 seconds there are people who have multi-year storage retentions that >> work successfully (so that would be around a million datapoints per >> year). >> >> -- >> Stuart Clark >> >> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-developers/0f10e2d5aeb2ea7619846506fa81f1a4%40Jahingo.com >> . >> > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CABbyFmox54hBv6MQDBvDofmUWL9ssXwCPW0hBUv8Yh%2Bm2vXW6w%40mail.gmail.com.
Re: [prometheus-developers] Maximum length of a time series in Prometheus
Prometheus timestamps are in int64 (signed) milliseconds. So the maximum number of data points per series is: 9,223,372,036,854,775,807 On Mon, Mar 27, 2023 at 3:24 PM Stuart Clark wrote: > On 2023-03-27 14:10, Abdelouahab Khelifati wrote: > > I mean the maximum number of datapoints per time series, not the > > length of a specific value. > > Sorry that is what I was meaning. > > There will be loads of resource or performance limitations - such as not > being able to load the data for very long periods of time without huge > amounts of memory. However in the normal usage of scrapes around every > 30 seconds there are people who have multi-year storage retentions that > work successfully (so that would be around a million datapoints per > year). > > -- > Stuart Clark > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-developers/0f10e2d5aeb2ea7619846506fa81f1a4%40Jahingo.com > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CABbyFmpxXik1ZvjCkJAcXbh2tUa7xfAJ3A7_rrJh_8SvxosQsg%40mail.gmail.com.
Re: [prometheus-developers] Maximum length of a time series in Prometheus
On 2023-03-27 14:10, Abdelouahab Khelifati wrote: I mean the maximum number of datapoints per time series, not the length of a specific value. Sorry that is what I was meaning. There will be loads of resource or performance limitations - such as not being able to load the data for very long periods of time without huge amounts of memory. However in the normal usage of scrapes around every 30 seconds there are people who have multi-year storage retentions that work successfully (so that would be around a million datapoints per year). -- Stuart Clark -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/0f10e2d5aeb2ea7619846506fa81f1a4%40Jahingo.com.
Re: [prometheus-developers] Maximum length of a time series in Prometheus
I mean the maximum number of datapoints per time series, not the length of a specific value. Thanks! Abdel On Monday, March 27, 2023 at 3:08:31 PM UTC+2 Stuart Clark wrote: > On 2023-03-27 14:07, Abdelouahab Khelifati wrote: > > Hello, > > > > Is there a hard maximum length limit of a time series in Prometheus? > > > > There is probably something around 64 bit numbers, but as that is a very > large number I don't think there is anything specific limiting things > other than memory/disk. > > -- > Stuart Clark > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/bf7840cb-9c17-48bd-9433-f11645324775n%40googlegroups.com.
Re: [prometheus-developers] Maximum length of a time series in Prometheus
On 2023-03-27 14:07, Abdelouahab Khelifati wrote: Hello, Is there a hard maximum length limit of a time series in Prometheus? There is probably something around 64 bit numbers, but as that is a very large number I don't think there is anything specific limiting things other than memory/disk. -- Stuart Clark -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/8422a6919b069dd025962cc5d535301b%40Jahingo.com.