我已经创建了一个如下表
CREATE TABLE consolationstime (TIME_elsp varchar(20),REPONSE_TIME int(11))
值类似于:
我尝试使用下面的查询来绘制图形,但是它没有按预期工作。
SELECT
unix_timestamp(TIME_elsp) as time_sec,
max(REPONSE_TIME) as value,
'REPONSE_TIME' as metric
FROM CONSOLATIONSTIME
where REPONSE_TIME != 0
and $__timeFilter(TIME_elsp)
group by TIME_elsp