diff --git a/Cargo.lock b/Cargo.lock index e73c99f3..7b5c67a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1442,7 +1442,7 @@ dependencies = [ "num_cpus", "once_cell", "openssl", - "opentelemetry 0.18.0", + "opentelemetry 0.20.0", "opentelemetry-otlp", "opentelemetry-semantic-conventions", "parking_lot 0.12.1", @@ -2933,8 +2933,18 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69d6c3d7288a106c0a363e4b0e8d308058d56902adefb16f4936f417ffef086e" dependencies = [ - "opentelemetry_api", - "opentelemetry_sdk", + "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", ] [[package]] @@ -2946,7 +2956,7 @@ dependencies = [ "async-trait", "bytes", "http", - "opentelemetry_api", + "opentelemetry_api 0.18.0", ] [[package]] @@ -3007,6 +3017,22 @@ dependencies = [ "thiserror", ] +[[package]] +name = "opentelemetry_api" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a81f725323db1b1206ca3da8bb19874bbd3f57c3bcd59471bfb04525b265b9b" +dependencies = [ + "futures-channel", + "futures-util", + "indexmap 1.9.3", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", + "urlencoding", +] + [[package]] name = "opentelemetry_sdk" version = "0.18.0" @@ -3021,7 +3047,28 @@ dependencies = [ "futures-executor", "futures-util", "once_cell", - "opentelemetry_api", + "opentelemetry_api 0.18.0", + "percent-encoding", + "rand 0.8.5", + "thiserror", + "tokio", + "tokio-stream", +] + +[[package]] +name = "opentelemetry_sdk" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa8e705a0612d48139799fcbaba0d4a90f06277153e43dd2bdc16c6f0edd8026" +dependencies = [ + "async-trait", + "crossbeam-channel", + "futures-channel", + "futures-executor", + "futures-util", + "once_cell", + "opentelemetry_api 0.20.0", + "ordered-float", "percent-encoding", "rand 0.8.5", "thiserror", @@ -5533,6 +5580,12 @@ dependencies = [ "serde", ] +[[package]] +name = "urlencoding" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" + [[package]] name = "utf-8" version = "0.7.6" diff --git a/fission-server/Cargo.toml b/fission-server/Cargo.toml index d0b7ce49..7a709a43 100644 --- a/fission-server/Cargo.toml +++ b/fission-server/Cargo.toml @@ -71,7 +71,7 @@ mime = "0.3" num_cpus = "1.0" once_cell = "1.14" openssl = { version = "0.10", features = ["vendored"], default-features = false } -opentelemetry = { version = "0.18", features = ["rt-tokio", "trace"] } +opentelemetry = { version = "0.20", features = ["rt-tokio", "trace"] } opentelemetry-otlp = { version = "0.11", features = ["metrics", "grpc-tonic", "tls-roots"], default-features = false } opentelemetry-semantic-conventions = "0.10" parking_lot = "0.12"