diff --git a/.github/workflows/wasmbus-rpc.yml b/.github/workflows/wasmbus-rpc.yml index 39fdd16..4617023 100644 --- a/.github/workflows/wasmbus-rpc.yml +++ b/.github/workflows/wasmbus-rpc.yml @@ -26,8 +26,6 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - name: install_protoc - run: sudo apt-get install -y protobuf-compiler - name: run_all_tests_clippy_fmt working-directory: ${{ env.working-directory }} run: make test diff --git a/rpc-rs/Cargo.toml b/rpc-rs/Cargo.toml index b40e684..88ad427 100644 --- a/rpc-rs/Cargo.toml +++ b/rpc-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmbus-rpc" -version = "0.11.0" +version = "0.11.1" authors = [ "wasmcloud Team" ] license = "Apache-2.0" description = "Runtime library for actors and capability providers" @@ -53,12 +53,12 @@ futures = "0.3" lazy_static = "1.4" nkeys = "0.2" once_cell = "1.8" -opentelemetry = { version = "0.18", features = ["rt-tokio"], optional = true } -opentelemetry-otlp = { version = "0.11", features = ["http-proto", "reqwest-client"], optional = true } +opentelemetry = { version = "0.17", features = ["rt-tokio"], optional = true } +opentelemetry-otlp = { version = "0.10", features = ["http-proto", "reqwest-client"], optional = true } prometheus = { version = "0.13", optional = true } sha2 = "0.10.2" tokio = { version = "1", features = ["full"] } -tracing-opentelemetry = { version = "0.18", optional = true } +tracing-opentelemetry = { version = "0.17", optional = true } tracing-subscriber = { version = "0.3.7", features = ["env-filter", "json"] } uuid = { version = "1.0", features = ["v4", "serde"] } wascap = "0.8.0" diff --git a/rpc-rs/src/provider_main.rs b/rpc-rs/src/provider_main.rs index 6f07dbb..54c19cb 100644 --- a/rpc-rs/src/provider_main.rs +++ b/rpc-rs/src/provider_main.rs @@ -6,7 +6,7 @@ use std::str::FromStr; use once_cell::sync::OnceCell; #[cfg(feature = "otel")] use opentelemetry::sdk::{ - trace::{self, RandomIdGenerator, Sampler}, + trace::{self, IdGenerator, Sampler}, Resource, }; #[cfg(feature = "otel")] @@ -328,7 +328,7 @@ fn configure_tracing(provider_name: String, structured_logging_enabled: bool) { .with_trace_config( trace::config() .with_sampler(Sampler::AlwaysOn) - .with_id_generator(RandomIdGenerator::default()) + .with_id_generator(IdGenerator::default()) .with_max_events_per_span(64) .with_max_attributes_per_span(16) .with_max_events_per_span(16)