update doc

This commit is contained in:
Owen Williams
2023-07-25 09:35:42 -04:00
parent 85054d5116
commit 6e1910e325
@@ -1,4 +1,4 @@
---
****---
aliases:
- ../../reference/templating/
- ../../variables/add-ad-hoc-filters/
@@ -314,6 +314,10 @@ Currently only supported for Prometheus and Loki data sources. This variable rep
Currently only supported for Prometheus data sources. The `$__rate_interval` variable is meant to be used in the rate function. Refer to [Prometheus query variables]({{< relref "../../../datasources/prometheus/template-variables#use-__rate_interval" >}}) for details.
### $\_\_rate_interval_ms
This variable is the `$__rate_interval` variable in milliseconds, not a time interval formatted string. For example, if the `$__rate_interval` is `20m` then the `$__rate_interval_ms` is `1200000`.
### $timeFilter or $\_\_timeFilter
The `$timeFilter` variable returns the currently selected time range as an expression. For example, the time range interval `Last 7 days` expression is `time > now() - 7d`.