Skip to content

Commit 4770c9f

Browse files
committed
Make opentelemetry, opentelemetry_sdk, and tracing-opentelemetry workspace dependencies
Signed-off-by: Caleb Schoepp <[email protected]>
1 parent 6f010fa commit 4770c9f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,15 @@ anyhow = "1.0.75"
127127
conformance-tests = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" }
128128
http-body-util = "0.1.0"
129129
hyper = { version = "1.0.0", features = ["full"] }
130+
opentelemetry = { version = "0.22.0", features = ["metrics", "trace", "logs"] }
131+
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio", "logs_level_enabled", "metrics"] }
130132
reqwest = { version = "0.12", features = ["stream", "blocking"] }
131133
# In `rustls` turn off the `aws_lc_rs` default feature and turn on `ring`.
132134
# If both `aws_lc_rs` and `ring` are enabled, a panic at runtime will occur.
133135
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "logging", "tls12"] }
134136
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" }
135137
tracing = { version = "0.1", features = ["log"] }
138+
tracing-opentelemetry = { version = "0.23.0", default-features = false, features = ["metrics"] }
136139

137140
wasi-common-preview1 = { version = "22.0.0", package = "wasi-common", features = [
138141
"tokio",

crates/telemetry/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ edition = { workspace = true }
88
anyhow = { workspace = true }
99
http0 = { version = "0.2.9", package = "http" }
1010
http1 = { version = "1.0.0", package = "http" }
11-
opentelemetry = { version = "0.22.0", features = ["metrics", "trace", "logs"] }
11+
opentelemetry = { workspace = true }
1212
opentelemetry-otlp = { version = "0.15.0", default-features = false, features = ["http-proto", "trace", "http", "reqwest-client", "metrics", "grpc-tonic", "logs"] }
1313
opentelemetry-semantic-conventions = "0.14.0"
14-
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio", "logs_level_enabled"] }
14+
opentelemetry_sdk = { workspace = true }
1515
terminal = { path = "../terminal" }
1616
tracing = { version = "0.1.37", features = ["log"] }
1717
tracing-appender = "0.2.2"
18-
tracing-opentelemetry = { version = "0.23.0", default-features = false, features = ["metrics"] }
18+
tracing-opentelemetry = { workspace = true }
1919
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["smallvec", "fmt", "ansi", "std", "env-filter", "json", "registry"] }
2020
url = "2.2.2"
2121

0 commit comments

Comments
 (0)