diff --git a/Cargo.lock b/Cargo.lock index 65ffecc..b594cd4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -218,9 +218,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "autometrics" -version = "0.6.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95cef5eb1e18adfb843202bf71587174e480ed67c0ca3e976bf40e82d9adce86" +checksum = "b2699eba68422357620ca9c88278000d9abee07a1f78ce7fb59b24a12d4973e7" dependencies = [ "autometrics-macros", "cfg_aliases", @@ -249,14 +249,15 @@ dependencies = [ [[package]] name = "autometrics-macros" -version = "0.6.0" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "543250f01aa62c3b2666e327b335be532845a35e440eb984f5e6bad69106833d" +checksum = "46acc192d74ccd0e6a27326d62bd364420b03fae0f22ec473ab3a8019da7d2f1" dependencies = [ "percent-encoding", "proc-macro2", "quote", - "syn 1.0.109", + "regex", + "syn 2.0.38", ] [[package]] @@ -1549,48 +1550,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] -name = "opentelemetry-prometheus" -version = "0.13.0" +name = "opentelemetry" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d81bc254e2d572120363a2b16cdb0d715d301b5789be0cfc26ad87e4e10e53" +checksum = "1e32339a5dc40459130b3bd269e9892439f55b33e772d2a9d402a789baaf4e8a" dependencies = [ + "futures-core", + "futures-sink", + "indexmap 2.1.0", + "js-sys", "once_cell", - "opentelemetry_api", - "opentelemetry_sdk", - "prometheus", - "protobuf", + "pin-project-lite", + "thiserror", + "urlencoding", ] [[package]] -name = "opentelemetry_api" -version = "0.20.0" +name = "opentelemetry-prometheus" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a81f725323db1b1206ca3da8bb19874bbd3f57c3bcd59471bfb04525b265b9b" +checksum = "6f8f082da115b0dcb250829e3ed0b8792b8f963a1ad42466e48422fbe6a079bd" dependencies = [ - "futures-channel", - "futures-util", - "indexmap 1.9.3", - "js-sys", "once_cell", - "pin-project-lite", - "thiserror", - "urlencoding", + "opentelemetry", + "opentelemetry_sdk", + "prometheus", + "protobuf", ] [[package]] name = "opentelemetry_sdk" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8e705a0612d48139799fcbaba0d4a90f06277153e43dd2bdc16c6f0edd8026" +checksum = "968ba3f2ca03e90e5187f5e4f46c791ef7f2c163ae87789c8ce5f5ca3b7b7de5" dependencies = [ "async-trait", "futures-channel", "futures-executor", "futures-util", + "glob", "once_cell", - "opentelemetry_api", + "opentelemetry", "ordered-float", - "regex", "thiserror", ] @@ -1602,9 +1603,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "ordered-float" -version = "3.9.2" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1e1c390732d15f1d48471625cd92d154e66db2c56645e29a9cd26f4699f72dc" +checksum = "a76df7075c7d4d01fdcb46c912dd17fba5b60c78ea480b475f2b6ab6f666584e" dependencies = [ "num-traits", ] @@ -1746,9 +1747,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.21.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" +checksum = "510c4f1c9d81d556458f94c98f857748130ea9737bbd6053da497503b26ea63c" dependencies = [ "dtoa", "itoa", diff --git a/am/Cargo.toml b/am/Cargo.toml index 8d5971c..e12c228 100644 --- a/am/Cargo.toml +++ b/am/Cargo.toml @@ -15,7 +15,7 @@ build = "build.rs" [dependencies] am_list = { path = "../am_list" } anyhow = { workspace = true } -autometrics = { version = "0.6.0", features = ["prometheus-exporter"] } +autometrics = { version = "1.0.0", features = ["prometheus-exporter"] } autometrics-am = { path = "../autometrics-am" } axum = "0.6.18" clap = { version = "4.2.7", features = ["derive", "env"] }