My metrics are collected every 5 minutes, so I group my data 5 minutes to show data points.
But in CrateDB here I've to choose auto_gf or other intervals that supported in date_trunk.
I usually use template variable $interval in my grafana dashboard, any values like 1s, 10s, 30s, 5m could be set, but can't use it in this crate-datasource plugin.
(I use raw sql for now, but can't use $interval too. Like mysql datasource pluagin, $__timeGroup function wrap this to do what I want)
My metrics are collected every 5 minutes, so I group my data 5 minutes to show data points.
But in CrateDB here I've to choose
auto_gf
or other intervals that supported in date_trunk.I usually use template variable
$interval
in my grafana dashboard, any values like1s
,10s
,30s
,5m
could be set, but can't use it in this crate-datasource plugin.(I use raw sql for now, but can't use
$interval
too. Like mysql datasource pluagin,$__timeGroup
function wrap this to do what I want)