datasource.ts
23.6 KB
-
Prometheus: make $__range more precise (#21722) · 02c779cf
* Make $__range more precise in Prometheus It is now always equivalent to `${__range_s}s`, rather than rounding down to an integer multiple of the biggest possible unit. For example, a range of 47 hours is now represented as `169200s` rather than `1d`. Closes #21689. * Update a unit test to match new __range calc
Bruce Merry committed