Alright,

To be sure that I am understanding correctly. The consequence would be that
time series will be marked as stale, that would mean that grafana wouldn't
be able to show the data past the 5 minutes delay. Is that correct?

The other thing that I see, perhaps, I could increase the 5minutes period
to something a little bit over an hour as I will scrape the metrics every
hours.


On Tue, Jul 7, 2020 at 11:12 AM 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/CAO%2BPXKPovspkPaSpJihkL6LSQY-0K7Ft8MnT_KL2FOO5xpqgbA%40mail.gmail.com.

Reply via email to