diff --git a/Cargo.lock b/Cargo.lock index cd47080d8..38755b171 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2609,9 +2609,9 @@ dependencies = [ [[package]] name = "integer-encoding" -version = "1.1.7" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48dc51180a9b377fd75814d0cc02199c20f8e99433d6762f650d39cdbbd3b56f" +checksum = "0e85a1509a128c855368e135cffcde7eac17d8e1083f41e2b98c58bc1a5074be" [[package]] name = "iovec" @@ -3279,13 +3279,15 @@ dependencies = [ [[package]] name = "opentelemetry" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf9b1c4e9a6c4de793c632496fa490bdc0e1eea73f0c91394f7b6990935d22" +checksum = "6105e89802af13fdf48c49d7646d3b533a70e536d818aae7e78ba0433d01acb8" dependencies = [ "async-trait", "crossbeam-channel", - "futures", + "futures-channel", + "futures-executor", + "futures-util", "js-sys", "lazy_static", "percent-encoding", @@ -3298,9 +3300,9 @@ dependencies = [ [[package]] name = "opentelemetry-jaeger" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db22f492873ea037bc267b35a0e8e4fb846340058cb7c864efe3d0bf23684593" +checksum = "f8c0b12cd9e3f9b35b52f6e0dac66866c519b26f424f4bbf96e3fe8bfbdc5229" dependencies = [ "async-trait", "lazy_static", @@ -3313,9 +3315,9 @@ dependencies = [ [[package]] name = "opentelemetry-semantic-conventions" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffeac823339e8b0f27b961f4385057bf9f97f2863bc745bd015fd6091f2270e9" +checksum = "985cc35d832d412224b2cffe2f9194b1b89b6aa5d0bef76d080dce09d90e62bd" dependencies = [ "opentelemetry", ] @@ -4765,9 +4767,9 @@ dependencies = [ [[package]] name = "thrift" -version = "0.13.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6d965454947cc7266d22716ebfd07b18d84ebaf35eec558586bbb2a8cb6b5b" +checksum = "b82ca8f46f95b3ce96081fe3dd89160fdea970c254bb72925255d1b62aae692e" dependencies = [ "byteorder", "integer-encoding", @@ -5119,9 +5121,9 @@ dependencies = [ [[package]] name = "tracing-opentelemetry" -version = "0.16.0" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ffbf13a0f8b054a4e59df3a173b818e9c6177c02789871f2073977fd0062076" +checksum = "1f9378e96a9361190ae297e7f3a8ff644aacd2897f244b1ff81f381669196fa6" dependencies = [ "opentelemetry", "tracing", diff --git a/crates/block-producer/Cargo.toml b/crates/block-producer/Cargo.toml index 9534dbb08..7ad005f26 100644 --- a/crates/block-producer/Cargo.toml +++ b/crates/block-producer/Cargo.toml @@ -55,9 +55,9 @@ sentry = { git = "https://github.com/getsentry/sentry-rust", rev = "df694a49595d sentry-tracing = { git = "https://github.com/getsentry/sentry-rust", rev = "df694a49595d6890c510d80b85cfbb4b5ae6159a" } tracing = { version = "0.1", features = ["attributes"] } tracing-subscriber = { version = "0.3", features = ["env-filter", "parking_lot", "smallvec", "tracing-log"] } -tracing-opentelemetry = "0.16" -opentelemetry-jaeger = { version = "0.15", features = ["rt-tokio"] } -opentelemetry = { version = "0.16", features = ["rt-tokio"] } +tracing-opentelemetry = "0.17" +opentelemetry-jaeger = { version = "0.16", features = ["rt-tokio"] } +opentelemetry = { version = "0.17", features = ["rt-tokio"] } # unstable features tokio-metrics = "0.1.0" console-subscriber = "0.1.3" diff --git a/crates/block-producer/src/trace.rs b/crates/block-producer/src/trace.rs index 1eef1904d..29367d429 100644 --- a/crates/block-producer/src/trace.rs +++ b/crates/block-producer/src/trace.rs @@ -38,6 +38,7 @@ pub fn init(trace: Option) -> Result { let jaeger_layer = { let tracer = opentelemetry_jaeger::new_pipeline() .with_service_name("godwoken") + .with_auto_split_batch(true) .install_batch(opentelemetry::runtime::Tokio)?; tracing_opentelemetry::layer().with_tracer(tracer) };