btcnode-metrics 0.2.0

Gathers Bitcoin node metrics and transforms to Prometheus format.
Documentation
btcnode-metrics-0.2.0 has been yanked.

btcnode-prom-metrics

The best Bitcoin node metrics exporter for Prometheus based on corepc-client.

About corepc-client

The corepc-client crate replaces the previous the Bitcoin node RPC crates that were archived on 11/25/2025:

The Rust Bitcoin Community's public repository for this crate is at corepc-client.

Code structure

This repository's code is separated into:

  • btcnode-prom-metrics implements the API for Prometheus to call for gathering metrics.
  • btcnode-metrics gathers metrics from the Bitcoin node and transforms them into Prometheus format.