Not supporting milliseconds
When zooming into a timeseries the $__timeWindow do not support milliseconds.
Reproduce
Grafana query string used
SELECT $__time(timestamp), $__value(data) FROM table.part_raw WHERE tag == 'sensor' AND $__timeFilter(timestamp) GROUP BY $__timeWindow(timestamp)
Zoom in to a high resolution timeseries
Resulting SQL:
SELECT
window.start,
avg(data) AS value
FROM
table.part_raw
WHERE
tag == 'sensor'
AND timestamp BETWEEN '2023-06-21 17:28:10'
AND '2023-06-21 17:33:12'
GROUP BY
window(timestamp, '')
Notice the lack of proper time bin window in the group by.
Expected behavior
Support of milliseconds when zooming
SELECT
window.start,
avg(data) AS value
FROM
table.part_raw
WHERE
tag == 'sensor'
AND timestamp BETWEEN '2023-06-21 17:28:10'
AND '2023-06-21 17:33:12'
GROUP BY
window(timestamp, '1 milliseconds')
Workaround
Fixing Grafana "Min Interval" to 1 second
Environment:
Plugin Version: 1.2.4
Grafana Version: 10.4.0
ADB Serverless: Current (v 2024.15)
Not supporting milliseconds When zooming into a timeseries the $__timeWindow do not support milliseconds.
Reproduce Grafana query string used
SELECT $__time(timestamp), $__value(data) FROM table.part_raw WHERE tag == 'sensor' AND $__timeFilter(timestamp) GROUP BY $__timeWindow(timestamp)
Notice the lack of proper time bin window in the group by.
Expected behavior Support of milliseconds when zooming
Workaround Fixing Grafana "Min Interval" to 1 second
Environment: Plugin Version: 1.2.4 Grafana Version: 10.4.0 ADB Serverless: Current (v 2024.15)