Skip to content

Commit

Permalink
chore: replace reth-metrics-derive with the new standalone version (#…
Browse files Browse the repository at this point in the history
…2487)

the reth team has made the previously named reth-metrics-derive into a standalone crate, metrics-derive
  • Loading branch information
kariy authored Sep 30, 2024
1 parent afb86a9 commit 5eb722a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ tracing.workspace = true

# Metrics
metrics.workspace = true
metrics-derive = "0.1"
metrics-exporter-prometheus = "0.15.3"
metrics-process = "2.1.0"
metrics-util = "0.17.0"
reth-metrics-derive = { git = "https://github.com/paradigmxyz/reth.git", tag = "v1.0.3" }

[target.'cfg(not(windows))'.dependencies]
jemalloc-ctl = { version = "0.5.0", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ pub mod prometheus_exporter;
use jemallocator as _;
/// Re-export the metrics crate
pub use metrics;
/// Re-export the metrics derive macro
pub use metrics_derive::Metrics;
/// Re-export the metrics-process crate
pub use metrics_process;
/// Re-export the metrics derive macro
pub use reth_metrics_derive::Metrics;

// We use jemalloc for performance reasons
#[cfg(all(feature = "jemalloc", unix))]
Expand Down

0 comments on commit 5eb722a

Please sign in to comment.