Skip to content

Commit

Permalink
feat(wasi-observe): A WASI Observe host component
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Schoepp <[email protected]>
  • Loading branch information
calebschoepp committed Aug 29, 2024
1 parent 2cd5826 commit 9f26551
Show file tree
Hide file tree
Showing 31 changed files with 1,809 additions and 104 deletions.
146 changes: 134 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ test-components = { path = "tests/test-components" }
test-environment = { workspace = true }
testing-framework = { path = "tests/testing-framework" }
which = "4.2.5"
fake-opentelemetry-collector = "0.19.0"

[build-dependencies]
cargo-target-dep = { git = "https://github.com/fermyon/cargo-target-dep", rev = "482f269eceb7b1a7e8fc618bf8c082dd24979cf1" }
Expand Down
37 changes: 37 additions & 0 deletions crates/factor-observe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[package]
name = "spin-factor-observe"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }

[dependencies]
anyhow = "1.0"
async-trait = "0.1"
dotenvy = "0.15"
futures-executor = "0.3"
indexmap = "2.2.6"
once_cell = "1"
opentelemetry = { version = "0.22.0", features = [ "metrics", "trace"] }
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.15.0", default-features=false, features = ["http-proto", "trace", "http", "reqwest-client", "metrics", "grpc-tonic"] }
serde = "1.0.188"
spin-app = { path = "../app" }
spin-core = { path = "../core" }
spin-expressions = { path = "../expressions" }
spin-factors = { path = "../factors" }
spin-telemetry = { path = "../telemetry" }
spin-world = { path = "../world" }
table = { path = "../table" }
thiserror = "1"
tokio = { version = "1", features = ["rt-multi-thread"] }
tracing = "0.1.40"
tracing-opentelemetry = "0.23.0"
vaultrs = "0.6.2"

[dev-dependencies]
toml = "0.5"

[lints]
workspace = true

# TODO(Caleb): Cleanup these dependencies, use workspace, remove not needed
Loading

0 comments on commit 9f26551

Please sign in to comment.