I see the following description in the Grafana official document：
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 for details.
However, cortex as a Prometheus compatible data source, I’m not sure whether cortex supports the variable $__rate_interval?