Skip to content

Commit 9f26551

Browse files
committed
feat(wasi-observe): A WASI Observe host component
Signed-off-by: Caleb Schoepp <[email protected]>
1 parent 2cd5826 commit 9f26551

File tree

31 files changed

+1809
-104
lines changed

31 files changed

+1809
-104
lines changed

Cargo.lock

+134-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ test-components = { path = "tests/test-components" }
9797
test-environment = { workspace = true }
9898
testing-framework = { path = "tests/testing-framework" }
9999
which = "4.2.5"
100+
fake-opentelemetry-collector = "0.19.0"
100101

101102
[build-dependencies]
102103
cargo-target-dep = { git = "https://github.com/fermyon/cargo-target-dep", rev = "482f269eceb7b1a7e8fc618bf8c082dd24979cf1" }

crates/factor-observe/Cargo.toml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[package]
2+
name = "spin-factor-observe"
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
edition = { workspace = true }
6+
7+
[dependencies]
8+
anyhow = "1.0"
9+
async-trait = "0.1"
10+
dotenvy = "0.15"
11+
futures-executor = "0.3"
12+
indexmap = "2.2.6"
13+
once_cell = "1"
14+
opentelemetry = { version = "0.22.0", features = [ "metrics", "trace"] }
15+
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio"] }
16+
opentelemetry-otlp = { version = "0.15.0", default-features=false, features = ["http-proto", "trace", "http", "reqwest-client", "metrics", "grpc-tonic"] }
17+
serde = "1.0.188"
18+
spin-app = { path = "../app" }
19+
spin-core = { path = "../core" }
20+
spin-expressions = { path = "../expressions" }
21+
spin-factors = { path = "../factors" }
22+
spin-telemetry = { path = "../telemetry" }
23+
spin-world = { path = "../world" }
24+
table = { path = "../table" }
25+
thiserror = "1"
26+
tokio = { version = "1", features = ["rt-multi-thread"] }
27+
tracing = "0.1.40"
28+
tracing-opentelemetry = "0.23.0"
29+
vaultrs = "0.6.2"
30+
31+
[dev-dependencies]
32+
toml = "0.5"
33+
34+
[lints]
35+
workspace = true
36+
37+
# TODO(Caleb): Cleanup these dependencies, use workspace, remove not needed

0 commit comments

Comments
 (0)