From bfbc58b6aeb8ccdcb3bfe8b5852dddb8d5d44e54 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 03:42:28 +0000 Subject: [PATCH] fix(deps): update rust crate tonic-tracing-opentelemetry to 0.24.0 --- Cargo.lock | 99 +++++++++++++++++++++++++++++++++++++++++++++++++----- Cargo.toml | 2 +- 2 files changed, 91 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bd298c7..c41c5f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1263,6 +1263,20 @@ dependencies = [ "urlencoding", ] +[[package]] +name = "opentelemetry" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab70038c28ed37b97d8ed414b6429d343a8bbf44c9f79ec854f3a643029ba6d7" +dependencies = [ + "futures-core", + "futures-sink", + "js-sys", + "pin-project-lite", + "thiserror 1.0.69", + "tracing", +] + [[package]] name = "opentelemetry-appender-tracing" version = "0.2.0" @@ -1423,6 +1437,23 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "opentelemetry_sdk" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "231e9d6ceef9b0b2546ddf52335785ce41252bc7474ee8ba05bfad277be13ab8" +dependencies = [ + "async-trait", + "futures-channel", + "futures-executor", + "futures-util", + "glob", + "opentelemetry 0.27.1", + "percent-encoding", + "rand", + "thiserror 1.0.69", +] + [[package]] name = "ordered-float" version = "4.5.0" @@ -2923,6 +2954,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "tonic" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" +dependencies = [ + "base64 0.22.1", + "bytes", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "percent-encoding", + "pin-project", + "tokio-stream", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tonic-build" version = "0.11.0" @@ -2951,21 +3001,22 @@ dependencies = [ [[package]] name = "tonic-tracing-opentelemetry" -version = "0.18.2" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91f7d16858362cbf0beac4aae1a1421afe89688ac9a5c17439e315c1a477b764" +checksum = "54f4fa3d4aca657ebc0ecbd38b7ab16f34b79e3ea722f3c0c7b36de674b1e829" dependencies = [ "futures-core", "futures-util", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.31", - "opentelemetry 0.22.0", + "http 1.1.0", + "http-body 1.0.1", + "hyper 1.5.1", + "opentelemetry 0.27.1", "pin-project-lite", - "tonic 0.11.0", - "tower 0.4.13", + "tonic 0.12.3", + "tower 0.5.1", "tracing", - "tracing-opentelemetry 0.23.0", + "tracing-opentelemetry 0.28.0", + "tracing-opentelemetry-instrumentation-sdk", ] [[package]] @@ -3115,6 +3166,36 @@ dependencies = [ "web-time 1.1.0", ] +[[package]] +name = "tracing-opentelemetry" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a971f6058498b5c0f1affa23e7ea202057a7301dbff68e968b2d578bcbd053" +dependencies = [ + "js-sys", + "once_cell", + "opentelemetry 0.27.1", + "opentelemetry_sdk 0.27.1", + "smallvec", + "tracing", + "tracing-core", + "tracing-log", + "tracing-subscriber", + "web-time 1.1.0", +] + +[[package]] +name = "tracing-opentelemetry-instrumentation-sdk" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ece512a961221014e69a59c75561a2889835325c7520551ca721145809f9e40c" +dependencies = [ + "http 1.1.0", + "opentelemetry 0.27.1", + "tracing", + "tracing-opentelemetry 0.28.0", +] + [[package]] name = "tracing-serde" version = "0.1.3" diff --git a/Cargo.toml b/Cargo.toml index dfa846a..8356686 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ hyper-util = { version = "0.1.3", features = ["tokio"] } http-body-util = "0.1.0" anyhow = "1.0.82" once_cell = "1.19.0" -tonic-tracing-opentelemetry = "0.18.1" +tonic-tracing-opentelemetry = "0.24.0" opentelemetry = { version = "0.22.0", features = ["trace"] } opentelemetry_sdk = { version = "0.22.1", features = ["trace", "rt-tokio"] } opentelemetry-semantic-conventions = "0.14.0"