I have done a lot of analysis on rate() function but have not got a perfect answer for the same. Lets Suppose I have set the scraping level as 1m and this is my expression rate(http_request_total[5m])
- So Ideally I should get 5 data points at 1m interval scrapping which I am referring as V0,V1,V2,V3,V4,V5 .
- Now , when Rate method will get evaluated , I am not sure if I have a correct understanding but I have this formula in mind. Rate()*300=(V5-V0)/(t5-t1)
My question is this how rate will get calculated(my understanding is correct)? and how the extrapolation will be done the rate() in this example? I know for increase() its like the value we get from the above multiplied to the total interval
