This project provides a simple exporter for a bitcoin node to export metrics in the Prometheus format.
To build the binary run the command:
make
To copy the built binary to the storage run the command:
make release
The exporter can be run by passing the the RPC username, password and host to the binary like so:
BTC_USER=btcuser BTC_PASS=btcpass BTC_HOST=127.0.0.1:8332 ./bitcoind_exporter