forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prysm-stats.yml
32 lines (32 loc) · 1.14 KB
/
prysm-stats.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Send client stats to beaconcha.in service using client-metrics-exporter
version: "3.9"
services:
client-stats:
image: gobitfly/eth2-client-metrics-exporter:latest
volumes:
- /etc/localtime:/etc/localtime:ro
entrypoint:
- /bin/eth2-client-metrics-exporter
- --beaconnode.type
- prysm
- --beaconnode.address
- http://consensus:8008/metrics
- --validator.type
- prysm
- --validator.address
- http://validator:8009/metrics
- --server.address
- https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE}
# As of Nov 2022 Prysm's own client-stats would require source build. Using beaconcha.in's instead
# client-stats:
# image: prysm-consensus:local
# volumes:
# - /etc/localtime:/etc/localtime:ro
# entrypoint:
# - client-stats
# - --validator-metrics-url
# - http://validator:8009/metrics
# - --beacon-node-metrics-url
# - http://consensus:8008/metrics
# - --clientstats-api-url
# - https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE}