WasmLens: Automatic Glass-Box Instrumentation for Composed WebAssembly Applications
[Inżynieria oprogramowania] Autorzy: Michiel Van Kenhove, Ewout Verlinde, José Santos i 3 więcej
The WebAssembly Component Model enables language-independent composition of independently developed components, but complicates observability. Existing tracing support flattens execution hierarchy by attributing every span created inside a composition to a single host-level parent context, so execution across component boundaries cannot be reconstructed. The problem is amplified because components are typically deployed as black boxes whose internals cannot be modified or inspected by the system integrator. To address these limitations, we propose a revised wasi:otel/tracing design in which the runtime maintains a per-component span stack, restoring parent-child relationships across component boundaries without changing component interfaces or source code. This change has since been adopted upstream. Building on this design, we present WasmLens, an automatic instrumentation tool that de…
- Kategoria arxiv
- cs.SE
- Kategoria
- Inżynieria oprogramowania
- Doi
- 10.1145/3861044.3862585