bitcoind-exporter

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

README ΒΆ

Bitcoind Prometheus Exporter β‚Ώ

Prometheus metrics for a bitcoin node made simple

Buid License

πŸ” About the project

A Prometheus Exporter, which provides a deep insight into a Bitcoin full node.

βš™οΈ Configuration

This tool is configured via environment variables. Some environment variables are required and some activate additional functionalities.

Variable Description Required Default
RPC_ADDRESS The RPC address for the Bitcoin full node, e.g. http://127.0.0.1:8332 βœ…
RPC_USER The user name that was defined in the Bitcoin Node configuration βœ…
RPC_PASS The password that was set in the Bitcoin Node configuration βœ…
ZMQ_ADDRESS The address to the ZeroMQ interface of the Bitcoin Fullnode. This variable is required to determine the transcation rates. e.g. 127.0.0.1:28333 ❌
FETCH_INTERVAL The interval at which the metrics are to be recalculated. ❌ 10
METRIC_PORT The port via which the metrics are provided. ❌ 3000
LOG_LEVEL The log level for the service ❌ info

πŸ’» Grafana Dashboard

The official Grafana dashboard can be found here: https://grafana.com/grafana/dashboards/21351

🐳 Run with Docker

Docker-CLI
docker run -d --name kraken_dca \
  -e RPC_ADDRESS=http://127.0.0.1:8332 \
  -e RPC_USER=mempool \
  -e RPC_PASS=mempool \
  -e ZMQ_ADDRESS=127.0.0.1:28333 \
   ghcr.io/primexz/bitcoind-exporter:latest
πŸš€ Docker-Compose
vim docker-compose.yml
version: "3.8"
services:
  kraken_dca:
    image: ghcr.io/primexz/bitcoind-exporter:latest
    environment:
      - RPC_ADDRESS=http://127.0.0.1:8332
      - RPC_USER=mempool
      - RPC_PASS=mempool
      - ZMQ_ADDRESS=27.0.0.1:28333
    restart: always
docker-compose up -d

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL