prometheus exporter to monitor bitcoin compatible blockchain node
This is an API that provides metrics and probe endpoints for prometheus monitoring. It is use to monitor:
# default service port
PORT=8080
# type of blockchain, please refer to supported blockchain for variable naming
COIN_TYPE=ethereum
# node ip and port, if ethereum, please include protocol
COIN_HOST=http://<ip>:8545
# type of network, main/testnet
COIN_NETWORK=main
# for bitcoin compatible rpc
COIN_USER=username
COIN_PASSWORD=password
# namespace for prometheus exporter
COIN_NAMESPACE=ethereum
git clone git@github.com:yujinlim/blockchain-monitoring.git
cd blockchain-monitoring
go build
# browse to localhost:8080
./blockchain-monitoring