下载: https://dl.grafana.com/oss/release/grafana-5.4.2.windows-amd64.zip
解压就能用
添加数据源
添加查询条件
sql 模式编写查询条件
SELECT
$__timeGroupAlias(create_time,1s),
count(uuid) AS "num"
FROM t_user
WHERE
$__timeFilter(create_time)
GROUP BY 1
ORDER BY $__timeGroup(create_time,1s)