We are using version 1.7 and migrating to 2.0. (Ideally looking for a solution that also works on 1.7, but I am sure that Flux has many options).
I want to define just using influxdb and Grafana a time range for a query where the time range is based on the time field of an influxdb (sub) query.
So in the simplest implementation, I want to find say the time of the last(value) FROM
Then use that time to calculate n seconds before and after it for
In the final implementation, I want to define a Grafana variable with all the times retuned by the query and then generate repeating panels for each time (range).
I hope that that makes sense.
Looking forward to any enlightenment