Skip to content

Commit 131c297

Browse files
committed
trigger-http: Fix otel context propagation
The debug_span! was disabled by default tracing config, preventing otel context from being propagated through it. Signed-off-by: Lann Martin <[email protected]>
1 parent 5074e3c commit 131c297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/trigger-http/src/wasi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl HttpExecutor for WasiHttpExecutor<'_> {
9393
HandlerType::Wagi(_) => unreachable!("should have used WagiExecutor instead"),
9494
};
9595

96-
let span = tracing::debug_span!("execute_wasi");
96+
let span = tracing::info_span!("execute_wasi");
9797
let handle = task::spawn(
9898
async move {
9999
let result = match handler {

0 commit comments

Comments
 (0)