On 25.05.22 00:53, Devadrita Bose wrote:
>
>
> I understand that rate(xyz[5m]) * 60 is the rate of xyz per minute,
> averaged over 5 mins.
>
> 1. How then would $__rate_interval and $__interval be defined, possibly
> in the same syntax?
Does this blog post help? (Shameless plug...)
https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/
> 2. What format is rate being measured here, in my panel? Per minute, per
> second?
It really depends on your panel resolution and width. Those variable
settings (coming from Grafana, not Prometheus, as Brian already hinted
at) itend to "cover all the data" rather than having an average over a
fixed period of time.
--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email]
bjo...@rabenste.in