I would like to implement the following feature: Auto rearrangement (sorting) of queries in stacked graph panels (with multiple queries/targets) based on the values obtained from legends/aggregations. If this can be done, kindly suggest me some implementation procedures. Thanks in advance.
Auto-addition of queries based on metrics names/patterns in a graph panel, can be added to this feature may lead to an excellent feature in monitoring automation.
In this example with multiple queries/targets, the stacked graphs had been sorted based on the average values obtained to have a better visualization.