From 8efc22f61a906e26b2fd00b6555264f6a16339ad Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Thu, 12 Sep 2024 12:13:24 +0200 Subject: [PATCH] feat(holesky): add update dashboard scripts + doc --- testnets/holesky/README.md | 11 +++++++++++ testnets/holesky/update-grafana.sh | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100755 testnets/holesky/update-grafana.sh diff --git a/testnets/holesky/README.md b/testnets/holesky/README.md index 85a6d4fe..6e0cdbd9 100644 --- a/testnets/holesky/README.md +++ b/testnets/holesky/README.md @@ -65,6 +65,17 @@ This will run all modules in Docker containers. ### Bolt Sidecar WIP +### Observability +commit-boost comes with various observability tools, such as Prometheus, cadvisor, and Grafana. It also comes with some pre-built dashboards, +which can be found in the `grafana` directory. + +To update these dashboards, run the following command: +```bash +./update-grafana.sh +``` + +In this directory, you can also find a Bolt dashboard, which will be launched alongside the other dashboards. + ### Validators Validators must be configured to always prefer builder proposals over their own. Refer to client documentation for the specific configuration flags. **If this is not set, it could lead to commitment faults**. diff --git a/testnets/holesky/update-grafana.sh b/testnets/holesky/update-grafana.sh new file mode 100755 index 00000000..ef91d97e --- /dev/null +++ b/testnets/holesky/update-grafana.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Get the commit-hash from first argument +commit_hash=$1 + +curl https://raw.githubusercontent.com/Commit-Boost/commit-boost-client/main/grafana/dashboards/dashboard.json -o ./grafana/dashboards/dashboard.json +curl https://raw.githubusercontent.com/Commit-Boost/commit-boost-client/main/grafana/dashboards/system_metrics.json -o ./grafana/dashboards/system_metrics.json