I created a table on grafana, and the metrics for the table is as below,
sort_desc(avg(my_test_count) by (tenantid))
I expect that the records should be displayed in decending order based on the metrics value, but actually it isn’t the case. Note that the data displayed in table is correct, but the order isn’t expected.
I verified the query on prometheus GUI, and it worked well.
Is it a bug of grafana?
Some related information is as below,
prometheus version: v2.0.0
grafana version: v4.6.2
OS: Oracle Linux 7.3