diff --git a/Cargo.lock b/Cargo.lock index 3daea4f8fdc..82b9d94314f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -262,7 +262,7 @@ dependencies = [ "multer", "num-traits", "once_cell", - "opentelemetry", + "opentelemetry 0.23.0", "pin-project-lite", "regex", "serde", @@ -3438,6 +3438,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "opentelemetry" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c365a63eec4f55b7efeceb724f1336f26a9cf3427b70e59e2cd2a5b947fba96" +dependencies = [ + "futures-core", + "futures-sink", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", +] + [[package]] name = "opentelemetry-appender-tracing" version = "0.4.0" @@ -3445,7 +3459,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be314095f27dde46fca7038b023457d2b3459e1c39033dacc2ec1b31df11a61c" dependencies = [ "once_cell", - "opentelemetry", + "opentelemetry 0.23.0", "tracing", "tracing-core", "tracing-subscriber", @@ -3460,7 +3474,7 @@ dependencies = [ "async-trait", "bytes", "http 0.2.12", - "opentelemetry", + "opentelemetry 0.23.0", ] [[package]] @@ -3472,9 +3486,9 @@ dependencies = [ "async-trait", "futures-core", "http 0.2.12", - "opentelemetry", + "opentelemetry 0.23.0", "opentelemetry-proto", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "prost 0.12.6", "thiserror", "tokio", @@ -3488,8 +3502,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e1a24eafe47b693cb938f8505f240dc26c71db60df9aca376b4f857e9653ec7" dependencies = [ "once_cell", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.23.0", + "opentelemetry_sdk 0.23.0", "prometheus", "protobuf 2.28.0", ] @@ -3500,8 +3514,8 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "984806e6cf27f2b49282e2a05e288f30594f3dbc74eb7a6e99422bc48ed78162" dependencies = [ - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.23.0", + "opentelemetry_sdk 0.23.0", "prost 0.12.6", "tonic 0.11.0", ] @@ -3521,8 +3535,8 @@ dependencies = [ "async-trait", "chrono", "futures-util", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.23.0", + "opentelemetry_sdk 0.23.0", "ordered-float 4.2.0", "serde", "serde_json", @@ -3538,7 +3552,7 @@ dependencies = [ "eyre", "indexmap 1.9.3", "nvml-wrapper", - "opentelemetry", + "opentelemetry 0.23.0", "sysinfo 0.29.11", "tracing", ] @@ -3557,7 +3571,7 @@ dependencies = [ "glob", "lazy_static", "once_cell", - "opentelemetry", + "opentelemetry 0.23.0", "ordered-float 4.2.0", "percent-encoding", "rand", @@ -3567,6 +3581,24 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "opentelemetry_sdk" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692eac490ec80f24a17828d49b40b60f5aeaccdfe6a503f939713afd22bc28df" +dependencies = [ + "async-trait", + "futures-channel", + "futures-executor", + "futures-util", + "glob", + "once_cell", + "opentelemetry 0.24.0", + "percent-encoding", + "rand", + "thiserror", +] + [[package]] name = "option-ext" version = "0.2.0" @@ -5503,7 +5535,7 @@ dependencies = [ "num", "num_cpus", "once_cell", - "opentelemetry", + "opentelemetry 0.23.0", "opentelemetry-appender-tracing", "opentelemetry-http", "opentelemetry-otlp", @@ -5511,7 +5543,7 @@ dependencies = [ "opentelemetry-semantic-conventions", "opentelemetry-stdout", "opentelemetry-system-metrics", - "opentelemetry_sdk", + "opentelemetry_sdk 0.23.0", "path-clean", "pathdiff", "phonenumber", @@ -5559,7 +5591,7 @@ dependencies = [ "tonic 0.11.0", "tonic-types", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.25.0", "tracing-subscriber", "ttl_cache", "update-informer", @@ -5709,11 +5741,11 @@ dependencies = [ "hyper 0.14.30", "hyper-util", "once_cell", - "opentelemetry", + "opentelemetry 0.23.0", "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", @@ -5726,7 +5758,7 @@ dependencies = [ "tonic-tracing-opentelemetry", "tower", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.25.0", "tracing-subscriber", ] @@ -6170,12 +6202,12 @@ dependencies = [ "http 0.2.12", "http-body 0.4.6", "hyper 0.14.30", - "opentelemetry", + "opentelemetry 0.23.0", "pin-project-lite", "tonic 0.11.0", "tower", "tracing", - "tracing-opentelemetry", + "tracing-opentelemetry 0.24.0", ] [[package]] @@ -6273,8 +6305,26 @@ checksum = "f68803492bf28ab40aeccaecc7021096bd256baf7ca77c3d425d89b35a7be4e4" dependencies = [ "js-sys", "once_cell", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.23.0", + "opentelemetry_sdk 0.23.0", + "smallvec", + "tracing", + "tracing-core", + "tracing-log", + "tracing-subscriber", + "web-time", +] + +[[package]] +name = "tracing-opentelemetry" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9784ed4da7d921bc8df6963f8c80a0e4ce34ba6ba76668acadd3edbd985ff3b" +dependencies = [ + "js-sys", + "once_cell", + "opentelemetry 0.24.0", + "opentelemetry_sdk 0.24.1", "smallvec", "tracing", "tracing-core", diff --git a/Cargo.toml b/Cargo.toml index b387d921acb..ca18b8b721f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,7 +116,7 @@ tracing-subscriber = { version = "0.3.18", features = [ "fmt", "env-filter", ] } -tracing-opentelemetry = "0.24.0" +tracing-opentelemetry = "0.25.0" getrandom = { version = "0.2.14", features = ["js"] } prometheus = "0.13.4" tonic = { version = "0.11.0", default-features = false } diff --git a/tailcall-upstream-grpc/Cargo.toml b/tailcall-upstream-grpc/Cargo.toml index 8bab51007b3..2f07f4e62dd 100644 --- a/tailcall-upstream-grpc/Cargo.toml +++ b/tailcall-upstream-grpc/Cargo.toml @@ -28,7 +28,7 @@ opentelemetry-otlp = { version = "0.16.0", features = [ "tls-roots", ] } tracing = "0.1.40" -tracing-opentelemetry = "0.24.0" +tracing-opentelemetry = "0.25.0" tracing-subscriber = "0.3.18" derive_more = { workspace = true } thiserror = { workspace = true }