Is there any way i can get the time range we selected on the dashboard into a variable, so that i can use the same in my query.
I wanted to have a single stat for TPS for the time i selected on the dashboard . I have the total number of requests from influx db. How can i get the time selected on the dashboard into a template variable so that i can use. Please help.
It’s my understanding that $__range is only supported for a Prometheus data source, and mine is MySQL, so I think not, but if you know a way to use it with MySQL that would be awesome
What I’m looking to do is a simple SELECT to just display the amount of time in the select time range. For some reason when I use $__timeFilter I get the ERROR :Unknown column '$__timeFilter' in ‘field list’.