Skip to content

Commit

Permalink
Merge pull request #273 from yorickdowne/main
Browse files Browse the repository at this point in the history
Support new beaconcha.in stats endpoint
  • Loading branch information
yorickdowne authored Jul 21, 2021
2 parents 265cc54 + 30936ed commit 17888a7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ If we've helped you out, in-person or by creating this project, a tip will be ve

# Version

This is eth-docker v1.4.1.2
This is eth-docker v1.4.2
3 changes: 2 additions & 1 deletion default.env
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ TEKU_RAPID_SYNC=
CC_NODE=http://consensus:5052

# Beaconcha.in API key for sending client stats from Prysm. Used with prysm-stats.yml
# Specify as just the API key or as APIKEY/MACHINENAME
# Specify as just the API key, and give the machine name separately
BEACON_STATS_API=
BEACON_STATS_MACHINE=

# P2P ports you will forward to your staking node. Adjust here if you are
# going to use something other than defaults.
Expand Down
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ envmigrate() {
PRYSM_PEER_COUNT LH_PEER_COUNT TEKU_PEER_COUNT NIM_PEER_COUNT DOMAIN ACME_EMAIL \
CF_EMAIL CF_API_TOKEN AWS_PROFILE AWS_HOSTED_ZONE_ID GRAFANA_HOST PRYSM_HOST \
EC_HOST EC_WS_HOST DDNS_SUBDOMAIN DDNS_PROXY TEKU_RAPID_SYNC CC_NODE BEACON_STATS_API \
EC_P2P_PORT LH_PORT PRYSM_PORT PRYSM_UDP_PORT NIM_PORT TEKU_PORT GRAFANA_PORT \
BEACON_STATS_MACHINE EC_P2P_PORT LH_PORT PRYSM_PORT PRYSM_UDP_PORT NIM_PORT TEKU_PORT GRAFANA_PORT \
PRYSM_WEB_PORT TRAEFIK_WEB_PORT TRAEFIK_WEB_HTTP_PORT EC_RPC_PORT EC_WS_PORT \
RESTART LOG_LEVEL )
OLD_VARS=( ETH1_NODE ETH1_FALLBACK_NODE1 ETH1_FALLBACK_NODE2 ETH1_NETWORK ETH1_HOST \
Expand Down
4 changes: 2 additions & 2 deletions lh-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ services:
consensus:
command:
- --monitoring-endpoint
- https://beaconcha.in/api/v1/stats/${BEACON_STATS_API}
- https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE}
validator:
command:
- --monitoring-endpoint
- https://beaconcha.in/api/v1/stats/${BEACON_STATS_API}
- https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE}
2 changes: 1 addition & 1 deletion prysm-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
- --beacon-node-metrics-url
- http://consensus:8080/metrics
- --clientstats-api-url
- https://beaconcha.in/api/v1/stats/${BEACON_STATS_API}
- https://beaconcha.in/api/v1/client/metrics?apikey=${BEACON_STATS_API}&machine=${BEACON_STATS_MACHINE}
eth:
depends_on:
- client-stats

0 comments on commit 17888a7

Please sign in to comment.