Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "btcnode-metrics"
edition = "2024"
version = "2.0.18"
version = "2.0.19"
description = "The Bitcoin node metrics exporter for Prometheus based on Rust Bitcoin Community's crate for Bitcoin JSON-RPC."
license = "Apache-2.0"
homepage = "https://github.com/AltaModaTech/btcnode-metrics"
Expand All @@ -19,7 +19,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive"] }
toml = "1"
anyhow = "1"
corepc-client = { version = "0.18", features = ["client-sync"] }
corepc-client = { version = "0.19", features = ["client-sync"] }
thiserror = "2"


Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ These instructions are for installing and running from the shell. To install as

### Install

`cargo install btcnode-metrics@<version>`

where '<version>' is one of [this project's crates.io versions](https://crates.io/crates/btcnode-metrics/versions). The patch (3rd segment of version) indicates the version of corepc-client included.

Alternatively, to install the most recent version of this crate:

`cargo install btcnode-metrics`

### Configure

After installing btcnode-metrics,
After installing btcnode-metrics, modify the example config file to match your situation.

- Copy `config.toml.example` to `config.local.toml`.
- Edit `config.local.toml`
Expand Down