From a597e84547d5bcb56b41d00bcc635e5e7389b186 Mon Sep 17 00:00:00 2001 From: Evan Easton Date: Thu, 30 May 2024 10:41:59 -0500 Subject: [PATCH] Update metrics-rs libs together. --- Cargo.lock | 12 ++++++------ Cargo.toml | 6 +++--- exporter/tests/exporter_integration_test.rs | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 43e85e2..e573999 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -852,9 +852,9 @@ dependencies = [ [[package]] name = "metrics" -version = "0.22.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2be3cbd384d4e955b231c895ce10685e3d8260c5ccffae898c96c723b0772835" +checksum = "884adb57038347dfbaf2d5065887b6cf4312330dc8e94bc30a1a839bd79d3261" dependencies = [ "ahash", "portable-atomic", @@ -862,9 +862,9 @@ dependencies = [ [[package]] name = "metrics-exporter-prometheus" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d58e362dc7206e9456ddbcdbd53c71ba441020e62104703075a69151e38d85f" +checksum = "26eb45aff37b45cff885538e1dcbd6c2b462c04fe84ce0155ea469f325672c98" dependencies = [ "base64 0.22.0", "http-body-util", @@ -883,9 +883,9 @@ dependencies = [ [[package]] name = "metrics-util" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b07a5eb561b8cbc16be2d216faf7757f9baf3bfb94dbb0fae3df8387a5bb47f" +checksum = "4259040465c955f9f2f1a4a8a16dc46726169bca0f88e8fb2dbeced487c3e828" dependencies = [ "aho-corasick 1.1.2", "crossbeam-epoch", diff --git a/Cargo.toml b/Cargo.toml index 4b51860..94c7a1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,9 @@ hyper = "1.3.1" hyper-rustls = "0.27.1" hyper-util = "0.1.3" log = "0.4.21" -metrics = "0.22.3" -metrics-exporter-prometheus = "0.14.0" -metrics-util = "0.16.3" +metrics = "0.23.0" +metrics-exporter-prometheus = "0.15.0" +metrics-util = "0.17.0" serde = "1.0.200" serde_with = "3.8.0" serde_yaml = "0.9.33" diff --git a/exporter/tests/exporter_integration_test.rs b/exporter/tests/exporter_integration_test.rs index 2ef7388..79c7126 100644 --- a/exporter/tests/exporter_integration_test.rs +++ b/exporter/tests/exporter_integration_test.rs @@ -23,6 +23,7 @@ async fn exporter_integration_test() -> Result<(), Box> { .env("LISTEN_ADDRESS", "127.0.0.1") .env("LISTEN_PORT", port.to_string()) .env("RUST_BACKTRACE", "1") + .env("RUST_LOG", "info") .args(Vec::::new()) .spawn() .expect("unable to start exporter");