-
Notifications
You must be signed in to change notification settings - Fork 230
/
prysm-stats.yml
34 lines (34 loc) · 1.2 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
33
34
# 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
- 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:
# restart: "unless-stopped"
# image: prysm-consensus:local
# pull_policy: never
# 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}