Hello ,
Using Influxql i am visualizing
time series data in Grafana but i want to show graph sort by Value of Field (Usage_average) but it only support order by time. below i am sharing query, please help me with the same
SELECT last(“usage_average”) as “ua” FROM “vsphere_host_cpu” WHERE (“clustername”::tag =~ /^$clustername$/ AND “cpu” = ‘instance-total’) AND $timeFilter GROUP BY time($interval), “clustername”::tag fill(null) ORDER BY “ua”