From e2a5ec9cd2a2aa8a3a2e9834ebbb72055cf512df Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Wed, 25 Sep 2019 14:57:16 -0700 Subject: [PATCH] Change formula used in erasure statistics graph (#6102) automerge --- .../grafana-provisioning/dashboards/testnet-monitor.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/scripts/grafana-provisioning/dashboards/testnet-monitor.json b/metrics/scripts/grafana-provisioning/dashboards/testnet-monitor.json index e4358f4b4..52c49a702 100644 --- a/metrics/scripts/grafana-provisioning/dashboards/testnet-monitor.json +++ b/metrics/scripts/grafana-provisioning/dashboards/testnet-monitor.json @@ -7279,7 +7279,7 @@ "measurement": "cluster_info-vote-count", "orderByTime": "ASC", "policy": "autogen", - "query": "SELECT mean(\"recovered\") AS \"recovered\" FROM \"$testnet\".\"autogen\".\"blocktree-erasure\" WHERE host_id::tag =~ /$hostid/ AND $timeFilter GROUP BY time($__interval) FILL(0)", + "query": "SELECT sum(\"recovered\") AS \"recovered\" FROM \"$testnet\".\"autogen\".\"blocktree-erasure\" WHERE host_id::tag =~ /$hostid/ AND $timeFilter GROUP BY time($__interval) FILL(0)", "rawQuery": true, "refId": "B", "resultFormat": "time_series",