Table of Contents
This project is build to generate prometheus metrics for multiple ethereum rpc clients.
Metrics:
- eth_syncing
- eth_block_height
- eth_chainId
- eth_gasPrice
Here's why:
- This will helps you to monitor ethereum and get useful metrics
- You can scape these metrics using prometheus
- And eventually use grafana dashboard.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- go
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Clone the repo
git clone https://github.com/deepakdevcast/ethereum_exporter.git
- initialize .env | Config clients
# the prometheus metrics endpoint METRICS_PORT=':7201' <!-- {[CLIENT1],[CLIENT2],...]} --> CLIENT_INFO='[{"client":"local","url":"https://localhost:8545"}]'
- Run
cd cmd/ethereum_exporter go run .
Deepak Kumar - @deepakkdev