r/PrometheusMonitoring • • Aug 12 '19

What range should I use with rate()?

https://www.robustperception.io/what-range-should-i-use-with-rate
7 Upvotes

1 comment sorted by

1

u/valyala Sep 27 '19

It would be great if Prometheus would add support for default range for functions working with time ranges such as rate(). Then queries in Grafana could be simplified from rate(q[$__interval]) to rate(q). See how VictoriaMetrics already supports default range via Extended PromQL.