Skip to content

Commit

Permalink
Attempt to fix Nethermind dashboard (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Jan 31, 2024
1 parent bf6d875 commit 8e440fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions grafana/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ case "$CLIENT" in
*nethermind* )
# nethermind_dashboard
__url='https://raw.githubusercontent.com/NethermindEth/metrics-infrastructure/master/grafana/provisioning/dashboards/nethermind.json'
__file='/etc/grafana/provisioning/dashboards/nethermind_dashboard.json'
wget -t 3 -T 10 -qcO - "${__url}" | jq 'walk(if . == "prometheus_ds" then "Prometheus" else . end)' >"${__file}"
__file='/etc/grafana/provisioning/dashboards/nethermind_dashboardv2.json'
wget -t 3 -T 10 -qcO - "${__url}" >"${__file}"
# uid changed, removing this may undo the damage
if [ -f "/etc/grafana/provisioning/dashboards/nethermind_dashboard.json" ]; then
rm "/etc/grafana/provisioning/dashboards/nethermind_dashboard.json"
fi
;;&
*web3signer* )
# web3signer_dashboard
Expand Down

0 comments on commit 8e440fd

Please sign in to comment.