From 0a0beb9342080affc67465e95a8e4a86712d7c56 Mon Sep 17 00:00:00 2001 From: Nick Santana Date: Thu, 19 Oct 2023 08:45:12 -0700 Subject: [PATCH] Bump opentelemetry-jaeger to be compatible with opentelemetry bump --- Cargo.lock | 89 ++++++++++----------------------------- util/telemetry/Cargo.toml | 2 +- util/telemetry/src/lib.rs | 2 +- 3 files changed, 24 insertions(+), 69 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3f878694fd..e7044c8644 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2200,9 +2200,9 @@ dependencies = [ [[package]] name = "integer-encoding" -version = "3.0.2" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8" +checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" [[package]] name = "ipnet" @@ -6287,7 +6287,7 @@ dependencies = [ "cfg-if 1.0.0", "displaydoc", "hostname", - "opentelemetry 0.20.0", + "opentelemetry", "opentelemetry-jaeger", ] @@ -6702,81 +6702,54 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" -[[package]] -name = "opentelemetry" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d6c3d7288a106c0a363e4b0e8d308058d56902adefb16f4936f417ffef086e" -dependencies = [ - "opentelemetry_api 0.18.0", - "opentelemetry_sdk 0.18.0", -] - [[package]] name = "opentelemetry" version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9591d937bc0e6d2feb6f71a559540ab300ea49955229c347a517a28d27784c54" dependencies = [ - "opentelemetry_api 0.20.0", - "opentelemetry_sdk 0.20.0", + "opentelemetry_api", + "opentelemetry_sdk", ] [[package]] name = "opentelemetry-http" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc79add46364183ece1a4542592ca593e6421c60807232f5b8f7a31703825d" +checksum = "c7594ec0e11d8e33faf03530a4c49af7064ebba81c1480e01be67d90b356508b" dependencies = [ "async-trait", "bytes 1.1.0", "http", - "opentelemetry_api 0.18.0", + "opentelemetry_api", "reqwest", ] [[package]] name = "opentelemetry-jaeger" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e785d273968748578931e4dc3b4f5ec86b26e09d9e0d66b55adda7fce742f7a" +checksum = "876958ba9084f390f913fcf04ddf7bbbb822898867bb0a51cc28f2b9e5c1b515" dependencies = [ "async-trait", - "futures", - "futures-executor", + "futures-core", + "futures-util", "headers", "http", - "once_cell", - "opentelemetry 0.18.0", + "opentelemetry", "opentelemetry-http", "opentelemetry-semantic-conventions", "reqwest", - "thiserror", "thrift", ] [[package]] name = "opentelemetry-semantic-conventions" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b02e0230abb0ab6636d18e2ba8fa02903ea63772281340ccac18e0af3ec9eeb" -dependencies = [ - "opentelemetry 0.18.0", -] - -[[package]] -name = "opentelemetry_api" -version = "0.18.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c24f96e21e7acc813c7a8394ee94978929db2bcc46cf6b5014fc612bf7760c22" +checksum = "73c9f9340ad135068800e7f1b24e9e09ed9e7143f5bf8518ded3d3ec69789269" dependencies = [ - "futures-channel", - "futures-util", - "indexmap 1.9.1", - "js-sys", - "once_cell", - "pin-project-lite", - "thiserror", + "opentelemetry", ] [[package]] @@ -6795,24 +6768,6 @@ dependencies = [ "urlencoding", ] -[[package]] -name = "opentelemetry_sdk" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca41c4933371b61c2a2f214bf16931499af4ec90543604ec828f7a625c09113" -dependencies = [ - "async-trait", - "crossbeam-channel", - "futures-channel", - "futures-executor", - "futures-util", - "once_cell", - "opentelemetry_api 0.18.0", - "percent-encoding", - "rand", - "thiserror", -] - [[package]] name = "opentelemetry_sdk" version = "0.20.0" @@ -6825,7 +6780,7 @@ dependencies = [ "futures-executor", "futures-util", "once_cell", - "opentelemetry_api 0.20.0", + "opentelemetry_api", "ordered-float 3.9.2", "percent-encoding", "rand", @@ -6840,9 +6795,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "ordered-float" -version = "1.1.1" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7" +checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" dependencies = [ "num-traits", ] @@ -8796,14 +8751,14 @@ dependencies = [ [[package]] name = "thrift" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09678c4cdbb4eed72e18b7c2af1329c69825ed16fcbac62d083fc3e2b0590ff0" +checksum = "7e54bc85fc7faa8bc175c4bab5b92ba8d9a3ce893d0e9f42cc455c8ab16a9e09" dependencies = [ "byteorder", "integer-encoding", "log", - "ordered-float 1.1.1", + "ordered-float 2.10.1", "threadpool", ] diff --git a/util/telemetry/Cargo.toml b/util/telemetry/Cargo.toml index 133a48656c..b6a5074c17 100644 --- a/util/telemetry/Cargo.toml +++ b/util/telemetry/Cargo.toml @@ -18,4 +18,4 @@ cfg-if = "1.0" displaydoc = "0.2" hostname = "0.3.1" opentelemetry = "0.20.0" -opentelemetry-jaeger = { version = "0.17.0", features = ["reqwest_rustls_collector_client"], optional = true } +opentelemetry-jaeger = { version = "0.19.0", features = ["reqwest_rustls_collector_client"], optional = true } diff --git a/util/telemetry/src/lib.rs b/util/telemetry/src/lib.rs index d6cc2278a8..f00b9d504f 100644 --- a/util/telemetry/src/lib.rs +++ b/util/telemetry/src/lib.rs @@ -48,7 +48,7 @@ pub fn versioned_tracer( version: Option<&'static str>, schema_url: Option<&'static str>, ) -> BoxedTracer { - tracer_provider().versioned_tracer(name, version, schema_url) + tracer_provider().versioned_tracer(name, version, schema_url, None) } /// Creates a context when an explicit context is required. Useful when tracing