I am trying to get the average rate of request for the last one hour.
I am using the following query to get the rate
sum(rate(query_executes{ namespace ='oracle'}[1m]) by (database)
But if I were to get the average of the above rate for the last one hour, how do I do that?
Rates are fundamentally averages, if you would like to calculate "average(rate(some_metric[1m])[1h])" just execute "rate(some_metric[1h])".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.