On 07/07/2021 04:34, Kustav Chatterjee wrote:
> My pushgateway is getting new value every 15m so I have set the
> interval as 15m. As expected there should be 1 value in every 15m but
> as I can see it's stretching 5m for every single value. Please find
> the screenshot.
This is due to staleness. The maximum scrape interval for Prometheus
should be no more than about 2 minutes, so I'd suggest adjusting your
configuration to scrape the push gateway at that frequency (no problem
with only pushing to the gateway every 15 minutes).
--
Stuart Clark