diff --git a/Cargo.lock b/Cargo.lock index 5471f29..4b98084 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2025,17 +2025,6 @@ version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" -[[package]] -name = "metrics" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde3af1a009ed76a778cb84fdef9e7dbbdf5775ae3e4cc1f434a6a307f6f76c5" -dependencies = [ - "ahash", - "metrics-macros", - "portable-atomic", -] - [[package]] name = "metrics" version = "0.22.3" @@ -2057,7 +2046,7 @@ dependencies = [ "hyper-tls", "indexmap", "ipnet", - "metrics 0.22.3", + "metrics", "metrics-util", "quanta", "thiserror", @@ -2072,21 +2061,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82bd7bb16e431f15d56a61b18ee34881cd9d427da7b4450d1a588c911c1d9ac3" dependencies = [ "cadence", - "metrics 0.22.3", + "metrics", "thiserror", ] -[[package]] -name = "metrics-macros" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b4faf00617defe497754acde3024865bc143d44a86799b24e191ecff91354f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "metrics-util" version = "0.16.3" @@ -2096,7 +2074,7 @@ dependencies = [ "crossbeam-epoch", "crossbeam-utils", "hashbrown 0.14.3", - "metrics 0.22.3", + "metrics", "num_cpus", "quanta", "sketches-ddsketch", @@ -2204,7 +2182,7 @@ dependencies = [ "indicatif", "indoc", "itertools 0.12.1", - "metrics 0.21.1", + "metrics", "mongodb", "opentelemetry", "ordered-float", @@ -3795,7 +3773,7 @@ dependencies = [ "chrono", "dirs", "http 0.2.12", - "metrics 0.22.3", + "metrics", "metrics-exporter-prometheus", "metrics-exporter-statsd", "opentelemetry", diff --git a/Cargo.toml b/Cargo.toml index 445af3e..e53d78e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ humantime-serde = "1.1.1" indicatif = "0.17.7" indoc = "2.0.4" itertools = "0.12.0" -metrics = "0.21.1" +metrics = "0.22.3" # TODO: only include this for migrate-codes bin mongodb = "2.8.1" opentelemetry = "0.21.0"