Skip to content

Commit 4fac517

Browse files
committed
Use workspace dependencies for OTel deps
Signed-off-by: Caleb Schoepp <caleb.schoepp@fermyon.com>
1 parent b19158a commit 4fac517

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,12 @@ anyhow = "1.0.75"
128128
conformance-tests = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" }
129129
http-body-util = "0.1.0"
130130
hyper = { version = "1.0.0", features = ["full"] }
131+
opentelemetry = { version = "0.22.0", features = ["metrics", "trace", "logs"] }
132+
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio", "logs_level_enabled"] }
131133
reqwest = { version = "0.12", features = ["stream", "blocking"] }
132134
test-environment = { git = "https://github.com/fermyon/conformance-tests", rev = "387b7f375df59e6254a7c29cf4a53507a9f46d32" }
133135
tracing = { version = "0.1", features = ["log"] }
136+
tracing-opentelemetry = { version = "0.23.0", default-features = false, features = ["metrics"] }
134137

135138
wasi-common-preview1 = { version = "22.0.0", package = "wasi-common", features = [
136139
"tokio",

crates/factor-observe/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dotenvy = "0.15"
1111
futures-executor = "0.3"
1212
indexmap = "2.2.6"
1313
once_cell = "1"
14-
opentelemetry = { version = "0.22.0", features = [ "metrics", "trace"] }
15-
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio"] }
14+
opentelemetry = { workspace = true }
15+
opentelemetry_sdk = { workspace = true }
1616
opentelemetry-otlp = { version = "0.15.0", default-features=false, features = ["http-proto", "trace", "http", "reqwest-client", "metrics", "grpc-tonic"] }
1717
serde = "1.0.188"
1818
spin-app = { path = "../app" }
@@ -25,7 +25,7 @@ table = { path = "../table" }
2525
thiserror = "1"
2626
tokio = { version = "1", features = ["rt-multi-thread"] }
2727
tracing = "0.1.40"
28-
tracing-opentelemetry = "0.23.0"
28+
tracing-opentelemetry = { workspace = true }
2929

3030
[dev-dependencies]
3131
toml = "0.5"

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

crates/world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ edition = { workspace = true }
77
[dependencies]
88
anyhow = { workspace = true }
99
async-trait = "0.1"
10-
opentelemetry = { version = "0.22.0", features = [ "metrics", "trace"] }
10+
opentelemetry = { workspace = true }
1111
wasmtime = { workspace = true }

0 commit comments

Comments
 (0)