Skip to content

Commit

Permalink
downgraded opentelemetry dependencies (#130)
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <[email protected]>

Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend authored Nov 23, 2022
1 parent 94b943e commit 09d676d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/wasmbus-rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions rpc-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions rpc-rs/src/provider_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 09d676d

Please sign in to comment.