Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
feat: update otel
Browse files Browse the repository at this point in the history
  • Loading branch information
ralvescosta committed Apr 25, 2024
1 parent fcd2697 commit 1ea770b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions traces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ serde = { workspace = true, features = ["derive"] }
tonic = { workspace = true, features = ["tls"] }
tokio = { workspace = true, features = ["default"] }

opentelemetry-otlp = { git = "ssh://git@github.com/open-telemetry/opentelemetry-rust.git", rev = "v0.21.2", features = ["tonic", "tls", "tls-roots"], optional = true }
opentelemetry-otlp = { version = "0.15", features = ["tonic", "tls", "tls-roots"], optional = true }

opentelemetry-stdout = { git = "ssh://git@github.com/open-telemetry/opentelemetry-rust.git", rev = "v0.21.2", features = ["trace"], optional = true }
opentelemetry-stdout = { version = "0.3", features = ["trace"], optional = true }
4 changes: 2 additions & 2 deletions traces/src/exporters/otlp_grpc.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use crate::errors::TracesError;
use configs::{Configs, DynamicConfigs};
use opentelemetry::global;
use opentelemetry::{global, propagation::TextMapCompositePropagator};
use opentelemetry_otlp::{Protocol, WithExportConfig};
use opentelemetry_sdk::{
propagation::{BaggagePropagator, TextMapCompositePropagator, TraceContextPropagator},
propagation::{BaggagePropagator, TraceContextPropagator},
runtime,
trace::Config,
};
Expand Down
4 changes: 2 additions & 2 deletions traces/src/exporters/stdout.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::errors::TracesError;
use opentelemetry::global;
use opentelemetry::{global, propagation::TextMapCompositePropagator};
use opentelemetry_sdk::{
propagation::{BaggagePropagator, TextMapCompositePropagator, TraceContextPropagator},
propagation::{BaggagePropagator, TraceContextPropagator},
trace::{Config, TracerProvider},
};
use tracing::debug;
Expand Down

0 comments on commit 1ea770b

Please sign in to comment.