From 9a8b40c2bd93e8ed0f2c260c06f8ca9dd6ead65e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 06:45:31 +0000 Subject: [PATCH] fix(deps): update rust crate tonic-tracing-opentelemetry to 0.21.0 --- Cargo.lock | 107 +++++++++++++++++++++++------- tailcall-upstream-grpc/Cargo.toml | 2 +- 2 files changed, 84 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 912fbfe5b20..253293e280c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -546,7 +546,7 @@ dependencies = [ "rustversion", "serde", "sync_wrapper 0.1.2", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", ] @@ -2701,7 +2701,7 @@ dependencies = [ "serde_path_to_error", "tokio", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tracing", ] @@ -2721,7 +2721,7 @@ dependencies = [ "hyper 1.4.1", "hyper-util", "tokio", - "tower", + "tower 0.4.13", "tower-service", "tracing", "tracing-subscriber", @@ -3405,7 +3405,7 @@ dependencies = [ "http 0.2.12", "opentelemetry 0.23.0", "opentelemetry-proto", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "prost 0.12.6", "thiserror", "tokio", @@ -3420,7 +3420,7 @@ checksum = "5e1a24eafe47b693cb938f8505f240dc26c71db60df9aca376b4f857e9653ec7" dependencies = [ "once_cell", "opentelemetry 0.23.0", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "prometheus", "protobuf 2.28.0", ] @@ -3432,7 +3432,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "984806e6cf27f2b49282e2a05e288f30594f3dbc74eb7a6e99422bc48ed78162" dependencies = [ "opentelemetry 0.23.0", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "prost 0.12.6", "tonic 0.11.0", ] @@ -3453,7 +3453,7 @@ dependencies = [ "chrono", "futures-util", "opentelemetry 0.23.0", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "ordered-float 4.2.2", "serde", "serde_json", @@ -3498,6 +3498,24 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "opentelemetry_sdk" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0da0d6b47a3dbc6e9c9e36a0520e25cf943e046843818faaa3f87365a548c82" +dependencies = [ + "async-trait", + "futures-channel", + "futures-executor", + "futures-util", + "glob", + "once_cell", + "opentelemetry 0.25.0", + "percent-encoding", + "rand", + "thiserror", +] + [[package]] name = "option-ext" version = "0.2.0" @@ -5415,7 +5433,7 @@ dependencies = [ "opentelemetry-semantic-conventions", "opentelemetry-stdout", "opentelemetry-system-metrics", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "path-clean", "pathdiff", "phonenumber", @@ -5462,7 +5480,7 @@ dependencies = [ "tonic 0.11.0", "tonic-types", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.24.0", "tracing-subscriber", "ttl_cache", "update-informer", @@ -5622,7 +5640,7 @@ dependencies = [ "opentelemetry-http", "opentelemetry-otlp", "opentelemetry-semantic-conventions", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "prost 0.12.6", "prost-types 0.12.6", "protoc-bin-vendored", @@ -5633,9 +5651,9 @@ dependencies = [ "tonic-build 0.11.0", "tonic-reflection", "tonic-tracing-opentelemetry", - "tower", + "tower 0.4.13", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.24.0", "tracing-subscriber", ] @@ -5995,7 +6013,7 @@ dependencies = [ "tokio", "tokio-rustls 0.25.0", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -6061,21 +6079,22 @@ dependencies = [ [[package]] name = "tonic-tracing-opentelemetry" -version = "0.19.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeea5861e4e5d834196c9cc752a1c145d8481a525c25f5a52389ccf52b4464bd" +checksum = "6189e979896bf663c2478b4b4d04278c356a02dc8d80228d002e5535fe976e68" dependencies = [ "futures-core", "futures-util", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.30", - "opentelemetry 0.23.0", + "http 1.1.0", + "http-body 1.0.1", + "hyper 1.4.1", + "opentelemetry 0.25.0", "pin-project-lite", - "tonic 0.11.0", - "tower", + "tonic 0.12.2", + "tower 0.5.1", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.26.0", + "tracing-opentelemetry-instrumentation-sdk", ] [[package]] @@ -6109,6 +6128,16 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +dependencies = [ + "tower-layer", + "tower-service", +] + [[package]] name = "tower-layer" version = "0.3.3" @@ -6174,7 +6203,7 @@ dependencies = [ "js-sys", "once_cell", "opentelemetry 0.23.0", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "smallvec", "tracing", "tracing-core", @@ -6183,6 +6212,36 @@ dependencies = [ "web-time", ] +[[package]] +name = "tracing-opentelemetry" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eabc56d23707ad55ba2a0750fc24767125d5a0f51993ba41ad2c441cc7b8dea" +dependencies = [ + "js-sys", + "once_cell", + "opentelemetry 0.25.0", + "opentelemetry_sdk 0.25.0", + "smallvec", + "tracing", + "tracing-core", + "tracing-log", + "tracing-subscriber", + "web-time", +] + +[[package]] +name = "tracing-opentelemetry-instrumentation-sdk" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "612243becba145498d15c8ff9d41f333ca27b343ee874909d964cc2aed3a013f" +dependencies = [ + "http 1.1.0", + "opentelemetry 0.25.0", + "tracing", + "tracing-opentelemetry 0.26.0", +] + [[package]] name = "tracing-serde" version = "0.1.3" @@ -6621,7 +6680,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/tailcall-upstream-grpc/Cargo.toml b/tailcall-upstream-grpc/Cargo.toml index 8bab51007b3..475180b48ed 100644 --- a/tailcall-upstream-grpc/Cargo.toml +++ b/tailcall-upstream-grpc/Cargo.toml @@ -17,7 +17,7 @@ tower = "0.4.13" hyper-util = { version = "0.1.3", features = ["tokio"] } http-body-util = "0.1.1" once_cell = "1.19.0" -tonic-tracing-opentelemetry = "0.19.0" +tonic-tracing-opentelemetry = "0.21.0" opentelemetry = { version = "0.23.0", features = ["trace"] } opentelemetry_sdk = { version = "0.23.0", features = ["trace", "rt-tokio"] } opentelemetry-semantic-conventions = "0.15.0"