runwasi icon indicating copy to clipboard operation
runwasi copied to clipboard

feat(tracing): add tracing instruments to containerd-shim-wasm

Open Mossaka opened this issue 1 year ago • 0 comments

this commit adds tracing instrument macros to functions in the containerd-shim-wasm crate to capture spans of each function including its parameters and results.

these spans can be in turn be collected using tracing-opentelemetry and opentelemetry SDK at the shim binary level and output to collectors like Jeager endpoint.

Demo: https://github.com/Mossaka/runwasi/tree/otel-wasmtime

Mossaka avatar Apr 17 '24 15:04 Mossaka