Skip to content

Commit

Permalink
deps: Bump opentelemetry to 0.23
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed May 31, 2024
1 parent 6c764fa commit 4a6233f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
6 changes: 3 additions & 3 deletions minitrace-opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ keywords = ["tracing", "span", "datadog", "jaeger", "opentelemetry"]
futures = { version = "0.3", features = ["executor"] }
log = "0.4"
minitrace = { version = "0.6.5", path = "../minitrace" }
opentelemetry = { version = "0.22", features = ["trace"] }
opentelemetry_sdk = { version = "0.22.1", features = ["trace"] }
opentelemetry = { version = "0.23", features = ["trace"] }
opentelemetry_sdk = { version = "0.23", features = ["trace"] }

[dev-dependencies]
opentelemetry-otlp = { version = "0.15", features = ["trace"] }
opentelemetry-otlp = { version = "0.16", features = ["trace"] }
rand = "0.8"
tokio = { version = "1", features = ["rt-multi-thread"] }
8 changes: 4 additions & 4 deletions minitrace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ minitrace-jaeger = { version = "0.6.5", path = "../minitrace-jaeger" }
minitrace-opentelemetry = { version = "0.6.5", path = "../minitrace-opentelemetry" }
mockall = "0.11"
once_cell = "1"
opentelemetry-otlp = { version = "0.15", features = ["trace"] }
opentelemetry = { version = "0.22", features = ["trace"] }
opentelemetry_sdk = { version = "0.22.1", features = ["trace"] }
opentelemetry-otlp = { version = "0.16", features = ["trace"] }
opentelemetry = { version = "0.23", features = ["trace"] }
opentelemetry_sdk = { version = "0.23", features = ["trace"] }

rand = "0.8"
rustracing = "0.6"
Expand All @@ -52,7 +52,7 @@ test-harness = "0.1.1"
tokio = { version = "1", features = ["rt", "time", "macros", "rt-multi-thread"] }
tracing = "0.1"
tracing-core = "0.1"
tracing-opentelemetry = "0.18"
tracing-opentelemetry = "0.24"
tracing-subscriber = "0.3"

[[bench]]
Expand Down
9 changes: 3 additions & 6 deletions minitrace/examples/asynchronous.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,9 @@ impl ReportAll {
Cow::Owned(opentelemetry_sdk::Resource::new([
opentelemetry::KeyValue::new("service.name", "asynchronous(opentelemetry)"),
])),
opentelemetry::InstrumentationLibrary::new(
"example-crate",
Some(env!("CARGO_PKG_VERSION")),
None::<&'static str>,
None,
),
opentelemetry::InstrumentationLibrary::builder("example-crate")
.with_version(env!("CARGO_PKG_VERSION"))
.build(),
),
}
}
Expand Down
9 changes: 3 additions & 6 deletions minitrace/examples/synchronous.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,9 @@ impl ReportAll {
Cow::Owned(opentelemetry_sdk::Resource::new([
opentelemetry::KeyValue::new("service.name", "synchronous(opentelemetry)"),
])),
opentelemetry::InstrumentationLibrary::new(
"example-crate",
Some(env!("CARGO_PKG_VERSION")),
None::<&'static str>,
None,
),
opentelemetry::InstrumentationLibrary::builder("example-crate")
.with_version(env!("CARGO_PKG_VERSION"))
.build(),
),
}
}
Expand Down

0 comments on commit 4a6233f

Please sign in to comment.