grafana 图表必须有时间,当date是字符串时,需要转换成时间戳 select unix_timestamp(DATE_FORMAT(date,'%Y-%m-%d %H:%M:%s')) as time, sum(count) from default.test where date>=