On Wednesday, 8 April 2020 00:14:04 UTC+1, Murali Krishna Kanagala wrote:
>
> Every time the data is scrapped Prometheus does that calculation and 
> record the custom metric. 5min here is a sliding window with latest 
> metric's time stamp as the curren time and the previous one (if it exists 
> within last 5min) as the previous metric.
>

I don't think that's true for recording rules.  Firstly, they are evaluated 
at the rule evaluation interval, not the scrape interval.  Secondly, the 5 
minute window runs from the rule evaluation time backwards, not the "latest 
metric's time stamp".

-- 
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/911e2995-59d1-4a83-a83d-3fad7abe7696%40googlegroups.com.

Reply via email to