Rework cluster metrics dashboard to support the modern clusters

This commit is contained in:
Michael Vines
2020-03-11 10:21:53 -07:00
parent 0ef9d79056
commit 5f5824d78d
9 changed files with 58 additions and 55 deletions

View File

@ -11,13 +11,13 @@ fi
case $CHANNEL in
edge)
DASHBOARD=testnet-monitor-edge
DASHBOARD=cluster-telemetry-edge
;;
beta)
DASHBOARD=testnet-monitor-beta
DASHBOARD=cluster-telemetry-beta
;;
stable)
DASHBOARD=testnet-monitor
DASHBOARD=cluster-telemetry
;;
*)
echo "Error: Invalid CHANNEL=$CHANNEL"
@ -31,7 +31,7 @@ if [[ -z $GRAFANA_API_TOKEN ]]; then
exit 1
fi
DASHBOARD_JSON=scripts/grafana-provisioning/dashboards/testnet-monitor.json
DASHBOARD_JSON=scripts/grafana-provisioning/dashboards/cluster-monitor.json
if [[ ! -r $DASHBOARD_JSON ]]; then
echo Error: $DASHBOARD_JSON not found
fi