How to enable geth stats?
# [optional] used to enable geth stats:
# OP_GETH_ETH_STATS=nodename:secret@host:port
# OP_NETHERMIND_ETHSTATS_ENABLED=true
# OP_NETHERMIND_ETHSTATS_NODE_NAME=NethermindNode
# OP_NETHERMIND_ETHSTATS_ENDPOINT=ethstats_endpoint
Can someone give me an example to enable the geth stats?
I added the nethermind service to the docker-compose file. Then, what should I replace with OP_GETH_ETH_STATS=nodename:secret@host:port?
Please share your docker-compose file and .env.mainnet file for example.
You would set the environment variable like this OP_GETH_ETH_STATS=MyGethNode:[email protected]:3000
Example in a Docker Compose File
version: '3'
services: geth: image: ethereum/client-go:stable environment: - OP_GETH_ETH_STATS=MyGethNode:[email protected]:3000 ports: - "8545:8545" - "8546:8546" - "30303:30303"
This configuration will enable Geth stats for your node
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.