alevchuk / bitcoin-prometheus-exporter

Prometheus exporter for Bitcoin Core nodes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 8443:8443 \
    -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.3.0

See the CHANGELOG.md file for changes.

About

Prometheus exporter for Bitcoin Core nodes

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 96.2%Language:Dockerfile 3.8%