jvstein/bitcoin-prometheus-exporter

By jvstein

Updated 10 months ago

Prometheus exporter for bitcoin nodes

Image
1

50K+

jvstein/bitcoin-prometheus-exporter repository overview

Bitcoin Core Prometheus Exporter

A Prometheus exporter for Bitcoin Core nodes written in python and packaged for running as a container.

A rudimentary Grafana dashboard is available in the dashboard/bitcoin-grafana.json file.

The main script is a modified version of bitcoin-monitor.md, updated to remove the need for the bitcoin-cli binary, packaged into a Docker image, and expanded to export additional metrics.

Run the container

docker run \
    --name=bitcoin-exporter \
    -p 9332:9332 \
    -e BITCOIN_RPC_HOST=bitcoin-node \
    -e BITCOIN_RPC_USER=alice \
    -e BITCOIN_RPC_PASSWORD=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= \
    jvstein/bitcoin-prometheus-exporter:v0.9.0

Change Log

See the CHANGELOG.md file in the GitHub repo for changes.

Tag summary

Content type

Image

Digest

sha256:358132b69

Size

30.8 MB

Last updated

10 months ago

docker pull jvstein/bitcoin-prometheus-exporter:v0.9.0