diff --git a/Cargo.lock b/Cargo.lock index b9193d10..f404bf0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2921,13 +2921,26 @@ dependencies = [ "tracing", ] +[[package]] +name = "opentelemetry" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b84bcd6ae87133e903af7ef497404dda70c60d0ea14895fc8a5e6722754fc2a0" +dependencies = [ + "futures-core", + "futures-sink", + "js-sys", + "pin-project-lite", + "thiserror 2.0.17", +] + [[package]] name = "opentelemetry-appender-tracing" version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e716f864eb23007bdd9dc4aec381e188a1cee28eecf22066772b5fd822b9727d" dependencies = [ - "opentelemetry", + "opentelemetry 0.29.1", "tracing", "tracing-core", "tracing-subscriber", @@ -2942,25 +2955,24 @@ dependencies = [ "async-trait", "bytes", "http", - "opentelemetry", + "opentelemetry 0.29.1", "tracing", ] [[package]] name = "opentelemetry-otlp" -version = "0.29.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d899720fe06916ccba71c01d04ecd77312734e2de3467fd30d9d580c8ce85656" +checksum = "7a2366db2dca4d2ad033cad11e6ee42844fd727007af5ad04a1730f4cb8163bf" dependencies = [ - "futures-core", "http", - "opentelemetry", - "opentelemetry-proto", - "opentelemetry_sdk", - "prost", + "opentelemetry 0.31.0", + "opentelemetry-proto 0.31.0", + "opentelemetry_sdk 0.31.0", + "prost 0.14.1", "thiserror 2.0.17", "tokio", - "tonic", + "tonic 0.14.2", ] [[package]] @@ -2971,14 +2983,27 @@ checksum = "8c40da242381435e18570d5b9d50aca2a4f4f4d8e146231adb4e7768023309b3" dependencies = [ "base64 0.22.1", "hex", - "opentelemetry", - "opentelemetry_sdk", - "prost", + "opentelemetry 0.29.1", + "opentelemetry_sdk 0.29.0", + "prost 0.13.1", "serde", - "tonic", + "tonic 0.12.3", "tracing", ] +[[package]] +name = "opentelemetry-proto" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7175df06de5eaee9909d4805a3d07e28bb752c34cab57fa9cff549da596b30f" +dependencies = [ + "opentelemetry 0.31.0", + "opentelemetry_sdk 0.31.0", + "prost 0.14.1", + "tonic 0.14.2", + "tonic-prost", +] + [[package]] name = "opentelemetry-semantic-conventions" version = "0.29.0" @@ -2992,8 +3017,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7e27d446dabd68610ef0b77d07b102ecde827a4596ea9c01a4d3811e945b286" dependencies = [ "chrono", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.29.1", + "opentelemetry_sdk 0.29.0", ] [[package]] @@ -3006,7 +3031,7 @@ dependencies = [ "futures-executor", "futures-util", "glob", - "opentelemetry", + "opentelemetry 0.29.1", "percent-encoding", "rand 0.9.2", "serde_json", @@ -3016,6 +3041,21 @@ dependencies = [ "tracing", ] +[[package]] +name = "opentelemetry_sdk" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e14ae4f5991976fd48df6d843de219ca6d31b01daaab2dad5af2badeded372bd" +dependencies = [ + "futures-channel", + "futures-executor", + "futures-util", + "opentelemetry 0.31.0", + "percent-encoding", + "rand 0.9.2", + "thiserror 2.0.17", +] + [[package]] name = "option-ext" version = "0.2.0" @@ -3400,7 +3440,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e13db3d3fde688c61e2446b4d843bc27a7e8af269a69440c0308021dc92333cc" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.13.1", +] + +[[package]] +name = "prost" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d" +dependencies = [ + "bytes", + "prost-derive 0.14.1", ] [[package]] @@ -3416,6 +3466,19 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "prost-derive" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425" +dependencies = [ + "anyhow", + "itertools 0.13.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "ptr_meta" version = "0.1.4" @@ -4798,9 +4861,9 @@ dependencies = [ [[package]] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384595c11a4e2969895cad5a8c4029115f5ab956a9e5ef4de79d11a426e5f20c" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" dependencies = [ "futures-core", ] @@ -4895,19 +4958,19 @@ dependencies = [ "axum 0.8.6", "http", "insta", - "opentelemetry", + "opentelemetry 0.29.1", "opentelemetry-appender-tracing", "opentelemetry-http", "opentelemetry-otlp", - "opentelemetry-proto", + "opentelemetry-proto 0.29.0", "opentelemetry-semantic-conventions", "opentelemetry-stdout", - "opentelemetry_sdk", + "opentelemetry_sdk 0.29.0", "rand 0.9.2", "reqwest", "serde", "tokio", - "tonic", + "tonic 0.12.3", "tracing", "tracing-opentelemetry", "tracing-subscriber", @@ -5366,7 +5429,7 @@ dependencies = [ "hyper-util", "percent-encoding", "pin-project", - "prost", + "prost 0.13.1", "socket2 0.5.6", "tokio", "tokio-stream", @@ -5376,6 +5439,43 @@ dependencies = [ "tracing", ] +[[package]] +name = "tonic" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb7613188ce9f7df5bfe185db26c5814347d110db17920415cf2fbcad85e7203" +dependencies = [ + "async-trait", + "base64 0.22.1", + "bytes", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-timeout", + "hyper-util", + "percent-encoding", + "pin-project", + "sync_wrapper", + "tokio", + "tokio-stream", + "tower 0.5.2", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tonic-prost" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66bd50ad6ce1252d87ef024b3d64fe4c3cf54a86fb9ef4c631fdd0ded7aeaa67" +dependencies = [ + "bytes", + "prost 0.14.1", + "tonic 0.14.2", +] + [[package]] name = "tower" version = "0.4.13" @@ -5404,7 +5504,9 @@ checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" dependencies = [ "futures-core", "futures-util", + "indexmap 2.7.1", "pin-project-lite", + "slab", "sync_wrapper", "tokio", "tokio-util", @@ -5541,8 +5643,8 @@ checksum = "fd8e764bd6f5813fd8bebc3117875190c5b0415be8f7f8059bffb6ecd979c444" dependencies = [ "js-sys", "once_cell", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.29.1", + "opentelemetry_sdk 0.29.0", "smallvec", "tracing", "tracing-core", diff --git a/crates/synd_o11y/Cargo.toml b/crates/synd_o11y/Cargo.toml index c2f944a8..28c2ca57 100644 --- a/crates/synd_o11y/Cargo.toml +++ b/crates/synd_o11y/Cargo.toml @@ -18,7 +18,7 @@ http = { workspace = true } opentelemetry = { version = "0.29.0" } opentelemetry-appender-tracing = { version = "0.29.0", default-features = false } # disable logs_level_enabled which affect global filtering opentelemetry-http = { version = "0.29.0" } -opentelemetry-otlp = { version = "0.29.0", default-features = false, features = ["trace", "metrics", "logs", "grpc-tonic"] } +opentelemetry-otlp = { version = "0.31.0", default-features = false, features = ["trace", "metrics", "logs", "grpc-tonic"] } opentelemetry-semantic-conventions = { version = "0.29.0", features = ["semconv_experimental"] } opentelemetry-stdout = { version = "0.29.0", optional = true, default-features = false, features = ["metrics"] } opentelemetry_sdk = { version = "0.29.0", features = ["logs", "rt-tokio", "spec_unstable_metrics_views"] }