Open iustin opened 11 months ago
Per https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/, a fixed rate interval works only in some cases. The current 1m assumes that everyone uses the default prometheus scraping interval (15s), but this is not guaranteed, so replace with $__rate_interval which should deal with things automatically in most cases.
1m
$__rate_interval
Friendly ping.
This needs a DCO sign-off. You can use git commit -s --amend to add it.
git commit -s --amend
Updated, thanks for the info.
Per https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/, a fixed rate interval works only in some cases. The current
1m
assumes that everyone uses the default prometheus scraping interval (15s), but this is not guaranteed, so replace with$__rate_interval
which should deal with things automatically in most cases.