grafana-json-datasource icon indicating copy to clipboard operation
grafana-json-datasource copied to clipboard

Time shift doesn't work

Open danmx opened this issue 2 years ago • 0 comments

I'm trying to display side by side data from two different time periods using time shift mechanism in query options and it seems it doesn't work for this data source (it works for Influxdb on the same dashboard).

I'm using an interval type variable to control the time shift. I'm using Grafana 8.4.1 and JSON API data source version 1.3.1. Time window is sent using parameters and values are: ${__from:date:iso} and ${__to:date:iso}.

Changing to $__to and $__from doesn't make a difference nor using static value for time shift, e.g. 1d instead of using a dashboard variable.

I checked the query both using Grafana's query inspector and at the data source service level.

danmx avatar Mar 02 '22 17:03 danmx