Does rate function really give average over time?
I send 20 requests into an endpoint by
ab -n 20 http://0.0.0.0:8001/
So, I use rate function with a metrics over 20s, so it should give me 1 value because there are 20 requests over the last 20s.
So 20 / 20 = 1 but it provides the value 2.
I believe there has no relation between scrape_interval and evaluation_interval for the result, my both interval is 10s