Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eburghar/bitcoin-exporter
Expose bitcoin core metrics in prometheus format
https://github.com/eburghar/bitcoin-exporter
bitcoin prometheus-exporter rust
Last synced: 4 days ago
JSON representation
Expose bitcoin core metrics in prometheus format
- Host: GitHub
- URL: https://github.com/eburghar/bitcoin-exporter
- Owner: eburghar
- License: apache-2.0
- Created: 2021-12-17T10:08:01.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T17:18:02.000Z (over 2 years ago)
- Last Synced: 2024-02-13T21:45:03.725Z (9 months ago)
- Topics: bitcoin, prometheus-exporter, rust
- Language: Rust
- Homepage: https://git.itsufficient.me/rust/bitcoin-exporter
- Size: 238 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# bitcoin-exporter
Serve bitcoind core metrics under `/metrics` path.
A direct rewrite of [bitcoin-prometheus-exporter](https://github.com/jvstein/bitcoin-prometheus-exporter) in rust.
Use a forked [rust-bitcoincore-rpc](https://git.itsufficient.me/rust/bitcoincore-rpc)
with applied [pr157](https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/157) and
[pr171](https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/171) and missing rpc calls implemented.```
bitcoin-exporter 0.5.4Usage: bitcoin-exporter [-c ] [-v]
Export bitcoin core metrics to prometheus format
Options:
-c, --config configuration file
-v, --verbose more detailed output
--help display usage information
```The configuration accepts the following keys. `host` and `bind` are optional. `user`, `password` and `host` represent
the bitcoind server rpc parameters.```yaml
user: user
password: changeme
host: 'http://localhost:8332'
bind: '127.0.0.1:9898'
```## Grafana dashboard
![grafana dashboard](dashboard/dashboard.png?raw=true "Grafana dashboard")