From d0e1846ad74be50a87facb0156cf0e3e019200c5 Mon Sep 17 00:00:00 2001 From: Yorick Date: Wed, 25 Dec 2024 08:49:36 +0000 Subject: [PATCH] Fix nimbus-stats.yml --- nimbus-stats-allin1.yml | 17 +++++++++++++++++ nimbus-stats.yml | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 nimbus-stats-allin1.yml diff --git a/nimbus-stats-allin1.yml b/nimbus-stats-allin1.yml new file mode 100644 index 00000000..08238392 --- /dev/null +++ b/nimbus-stats-allin1.yml @@ -0,0 +1,17 @@ +# Send client stats to beaconcha.in service using client-metrics-exporter +services: + client-stats: + restart: "unless-stopped" + image: gobitfly/eth2-client-metrics-exporter:latest + volumes: + - /etc/localtime:/etc/localtime:ro + entrypoint: + - /bin/eth2-client-metrics-exporter + - --beaconnode.type + - nimbus + - --beaconnode.address + - http://consensus:8008/metrics + - --validator.type + - nimbus + - --server.address + - https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE} diff --git a/nimbus-stats.yml b/nimbus-stats.yml index 08238392..6913d81c 100644 --- a/nimbus-stats.yml +++ b/nimbus-stats.yml @@ -13,5 +13,7 @@ services: - http://consensus:8008/metrics - --validator.type - nimbus + - --validator.address + - http://validator:8009/metrics - --server.address - https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE}