Thanks so much for the update, Chris. I was scratching my head trying to figure out the most sensible series aggregations when I found this thread and saw you'd already done the work. I do have one piece of feedback though; in the process of trying to figure out what aggregation I should use for the singlestat displays, I noticed this:
% for json in netapp-harvest-grafana-2.5/*.json; do echo $json; jq '.rows[].panels[]|select(.type == "singlestat")|.targets[].target|select(contains("TopResources"))' < $json; done
[…snippy snip…]
netapp-harvest-grafana-2.5/db_netapp-detail-network-lif.json
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.svm.$SVM.lif.$LIF.sent_data, $TopResources))"
"highestAverage(sumSeries(netapp.perf.$Group.$Cluster.svm.$SVM.lif.$LIF.recv_data), $TopResources)"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.svm.$SVM.iscsi_lif.$LIF.read_data, $TopResources))"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.svm.$SVM.iscsi_lif.$LIF.write_data, $TopResources))"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.svm.$SVM.fcp_lif.$LIF.read_data, $TopResources))"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.svm.$SVM.fcp_lif.$LIF.write_data, $TopResources))"
netapp-harvest-grafana-2.5/db_netapp-detail-network-port.json
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.node.$Node.eth_port.$Port.tx_bytes_per_sec, $TopResources))"
"maxSeries(highestAverage(netapp.perf.$Group.$Cluster.node.$Node.eth_port.$Port.link_pct_util, $TopResources))"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.node.$Node.eth_port.$Port.rx_bytes_per_sec, $TopResources))"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.node.$Node.fcp_port.$Port.write_data, $TopResources))"
"sumSeries(highestAverage(netapp.perf.$Group.$Cluster.node.$Node.fcp_port.*.read_data, $TopResources))"
[…snip some more…]
Should recv_data and read_data be different from their surrounding stats in this way? For example, it looks like the network-port.json version of read_data should use $Port instead of *, and recv_data should be the sumSeries of a highestAverage rather than the highestAverage of a sumSeries.
Thanks again for these updated dashboards; my manager is pretty pleased with all the pretty lines and green numbers!