diff --git a/Cargo.toml b/Cargo.toml index ea34cb1dba..e830f629cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -127,12 +127,15 @@ anyhow = "1.0.75" conformance-tests = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" } http-body-util = "0.1.0" hyper = { version = "1.0.0", features = ["full"] } +opentelemetry = { version = "0.22.0", features = ["metrics", "trace", "logs"] } +opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio", "logs_level_enabled", "metrics"] } reqwest = { version = "0.12", features = ["stream", "blocking"] } # In `rustls` turn off the `aws_lc_rs` default feature and turn on `ring`. # If both `aws_lc_rs` and `ring` are enabled, a panic at runtime will occur. rustls = { version = "0.23", default-features = false, features = ["ring", "std", "logging", "tls12"] } test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" } tracing = { version = "0.1", features = ["log"] } +tracing-opentelemetry = { version = "0.23.0", default-features = false, features = ["metrics"] } wasi-common-preview1 = { version = "22.0.0", package = "wasi-common", features = [ "tokio", diff --git a/crates/telemetry/Cargo.toml b/crates/telemetry/Cargo.toml index 095936d076..aab52780a9 100644 --- a/crates/telemetry/Cargo.toml +++ b/crates/telemetry/Cargo.toml @@ -8,14 +8,14 @@ edition = { workspace = true } anyhow = { workspace = true } http0 = { version = "0.2.9", package = "http" } http1 = { version = "1.0.0", package = "http" } -opentelemetry = { version = "0.22.0", features = ["metrics", "trace", "logs"] } +opentelemetry = { workspace = true } opentelemetry-otlp = { version = "0.15.0", default-features = false, features = ["http-proto", "trace", "http", "reqwest-client", "metrics", "grpc-tonic", "logs"] } opentelemetry-semantic-conventions = "0.14.0" -opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio", "logs_level_enabled"] } +opentelemetry_sdk = { workspace = true } terminal = { path = "../terminal" } tracing = { version = "0.1.37", features = ["log"] } tracing-appender = "0.2.2" -tracing-opentelemetry = { version = "0.23.0", default-features = false, features = ["metrics"] } +tracing-opentelemetry = { workspace = true } tracing-subscriber = { version = "0.3.17", default-features = false, features = ["smallvec", "fmt", "ansi", "std", "env-filter", "json", "registry"] } url = "2.2.2"