Hi, until the old version of Grafana in the queries to create the variables for the dashboards I could use |> range (start: v.timeRangeStart, stop: v.timeRangeStop)
. But with Grafana 11 these queries no longer work. The only way to get values is use static time range ( for example |> range (start: -1h)
) but that’s not what I want. The absurd thing is that the same old queries in Explore continue to work
Does anyone know how this query can be updated for Grafana 11?
Queries with such a time range still do work. See an example here
What do you have in Grafana’s time picker and in Inspect - Query tab?
Hi, I don’t know where I can access the Inspect - Query tab in the variables page. It could be very useful in troubleshooting.
I hadn’t written this yet, but I’m using Grafana as a docker container. By testing using the grafana/grafana:main
image instead of the default latest
, the variables started working again!
Just for the sake of completeness, now the running version is:
grafana:/usr/share/grafana$ grafana -v
grafana version 11.2.0-188177
while the faulty version was 11.1.0
1 Like