https://github.com/arjunrn/bitcoin-prometheus-exporter
https://github.com/arjunrn/bitcoin-prometheus-exporter
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/arjunrn/bitcoin-prometheus-exporter
- Owner: arjunrn
- Created: 2018-01-14T23:20:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T21:41:21.000Z (about 6 years ago)
- Last Synced: 2025-03-29T13:05:50.712Z (about 1 year ago)
- Language: Go
- Size: 2.76 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Bitcoind Prometheus Exporter
This project provides a simple exporter for a bitcoin node to export metrics in the [Prometheus format](https://prometheus.io/docs/instrumenting/exposition_formats/#text-format-details).
To build the binary run the command:
```bash
make
```
To copy the built binary to the storage run the command:
```bash
make release
```
### Running the exporter:
The exporter can be run by passing the the RPC username, password and host to the binary like so:
```bash
BTC_USER=btcuser BTC_PASS=btcpass BTC_HOST=127.0.0.1:8332 ./bitcoind_exporter
```