Prometheus also writes samples in 120 sample blocks (chunks). These are
flushed to disk at a maximum of every 2 hours. So any scrape interval over
1 minute is under-utilizing chunk compression.

On Tue, Jul 7, 2020 at 5:12 PM Stuart Clark <[email protected]>
wrote:

> On 2020-07-07 15:58, Mathieu Tétreault wrote:
> > Hi Brian,
> >
> > You got me wondering, why scrape intervals shouldn't be over 2minutes?
> > Is there anydown side to that?
> >
> > We are looking toward replacing a legacy system, there is already a
> > mysql database that is populated every hour, so that would allow us to
> > deploy a first version using the current mysql database, then in the
> > following release we could instrument the different applications and
> > then remove the mysql database.
>
> A time series will be marked as stale if it hasn't been updated at least
> once every 5 minutes.
>
> So the standard maximum of 2 minutes ensures there is at least once
> update every 5 minutes even if one scrape fails.
>
> --
> Stuart Clark
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/6bd0851f14eeb508cd0a9c5801c9e063%40Jahingo.com
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmqfgSzotGcOaWK%3DhkC%2BU4y4TkJKvTqcTvksZHjgJLBVGQ%40mail.gmail.com.

Reply via email to