Hi all
We have been exploring on all the Prometheus Query functions which can be useful to retrieve the number of requests for the last $period from a cumulative stats http_srv_req_count.
sum(http_srv_req_count) - sum(http_srv_req_count offset $period) >= 0
Can you confirm if the below function would help in the scenario as mentioned above.
idelta(http_srv_req_count[$period]) >= 0