On 2022-07-25 09:18, nina guo wrote:
Thank you Stuart.
May I ask why the maximum if 2.5mins?
By default Prometheus will look back for a maximum of 5 minutes to find
the "most recent" data point. Therefore if there was no data recorded in
the past 5 minutes a "no value" would be returned, and you'd have gaps
in your graphs. The recommended maximum of about 2-2.5 minutes is to
allow for a single scrape failure not to result in gaps as well as all
the various processing times to actually do the scrape.
--
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/aeae2e49c46a88f80c555ca4f46a99ec%40Jahingo.com.