diff --git a/grafana/Dockerfile b/grafana/Dockerfile index 62906a96..f19561a3 100644 --- a/grafana/Dockerfile +++ b/grafana/Dockerfile @@ -9,7 +9,6 @@ RUN chown -R grafana:root /etc/grafana/ COPY --chown=grafana:root ./dashboard.yml /etc/grafana/provisioning/dashboards/ COPY --chown=grafana:root ./datasource.yml /etc/grafana/provisioning/datasources/ COPY --chown=grafana:root ./provision-dashboards.sh /usr/local/bin/ -COPY --chown=grafana:root ./nethermind_dashboard.json /tmp/ # Belt and suspenders RUN chmod -R 755 /usr/local/bin/* diff --git a/grafana/provision-dashboards.sh b/grafana/provision-dashboards.sh index ff7b3c3b..752faf4e 100755 --- a/grafana/provision-dashboards.sh +++ b/grafana/provision-dashboards.sh @@ -11,22 +11,15 @@ fi case "$CLIENT" in *prysm* ) - # prysm_metanull - __url='https://raw.githubusercontent.com/metanull-operator/eth2-grafana/master/eth2-grafana-dashboard-single-source-beacon_node.json' - __file='/etc/grafana/provisioning/dashboards/prysm_metanull.json' wget -t 3 -T 10 -qcO - "${__url}" | jq '.title = "prysm_metanull"' >"${__file}" - # prysm_less_10 - __url='https://raw.githubusercontent.com/GuillaumeMiralles/prysm-grafana-dashboard/master/less_10_validators.json' - __file='/etc/grafana/provisioning/dashboards/prysm_less_10.json' - wget -t 3 -T 10 -qcO - "${__url}" | jq '.title = "prysm_less_10"' >"${__file}" + # prysm_small + __url='https://docs.prylabs.network/assets/grafana-dashboards/small_amount_validators.json' + __file='/etc/grafana/provisioning/dashboards/prysm_small.json' + wget -t 3 -T 10 -qcO - "${__url}" >"${__file}" # prysm_more_10 - __url='https://raw.githubusercontent.com/GuillaumeMiralles/prysm-grafana-dashboard/master/more_10_validators.json' - __file='/etc/grafana/provisioning/dashboards/prysm_more_10.json' - wget -t 3 -T 10 -qcO - "${__url}" | jq '.title = "prysm_more_10"' >"${__file}" - # prysm_ynager - __url='https://raw.githubusercontent.com/ynager/grafana-eth-staking/main/dashboard.json' - __file='/etc/grafana/provisioning/dashboards/prysm_ynager.json' - wget -t 3 -T 10 -qcO - "${__url}" | jq '.title = "prysm_ynager"' >"${__file}" + __url='https://docs.prylabs.network/assets/grafana-dashboards/big_amount_validators.json' + __file='/etc/grafana/provisioning/dashboards/prysm_big.json' + wget -t 3 -T 10 -qcO - "${__url}" >"${__file}" ;;& *lighthouse* ) # lighthouse_summary