Skip to content

Commit fbac941

Browse files
committed
feat(observability): trace remote HTTP middleware calls
Signed-off-by: Alex Fournier <afournier@nvidia.com>
1 parent 96fabf3 commit fbac941

4 files changed

Lines changed: 291 additions & 34 deletions

File tree

‎Cargo.lock‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/openshell-supervisor-middleware/Cargo.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ rust-version.workspace = true
1313
[dependencies]
1414
openshell-core = { path = "../openshell-core", default-features = false }
1515
openshell-extension-core = { path = "../openshell-extension-core" }
16+
openshell-otel = { path = "../openshell-otel" }
1617

1718
miette = { workspace = true }
1819
futures = { workspace = true }
@@ -24,9 +25,11 @@ tonic = { workspace = true, features = ["channel", "server", "tls-native-roots"]
2425
tracing = { workspace = true }
2526

2627
[dev-dependencies]
28+
openshell-otel-test-support = { path = "../openshell-otel-test-support" }
2729
openshell-supervisor-middleware-builtins = { path = "../openshell-supervisor-middleware-builtins" }
2830
tokio = { workspace = true, features = ["test-util"] }
2931
tokio-stream = { workspace = true, features = ["net"] }
32+
tracing-subscriber = { workspace = true }
3033

3134
[lints]
3235
workspace = true

0 commit comments

Comments
 (0)