P.S. if you want to get "an average over 5 minutes" you need to use a range vector, which is a collection of metrics with all their values over a range of time: then you can do
avg_over_time( ... range vector ...) You can get a range vector directly from an individual metric: foo[5m] Or you can use a subquery on an arbitrary PromQL expression: ( ... some expression ...)[5m:1m] The latter will evaluate whatever subexpression you give, over the previous 5 minutes at 1 minute intervals, giving a range vector. -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bd3c2c7e-36ea-4af2-a8ba-d6e168f2879c%40googlegroups.com.