envoyproxy/envoy

Tracing for WASM plugins

Open

#40,859 opened on Aug 26, 2025

View on GitHub
 (0 comments) (3 reactions) (0 assignees)C++ (5,373 forks)batch import
area/tracingarea/wasmenhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Title: Tracing for WASM plugins

Description: Currently, when one has enabled OpenTelemetry tracing and has enabled a WASM plugin, the WASM plugin is not visible in the trace. Depending on the plugin, in our case the Coraza Web Application Firewall, significant time can be spent there. So it would be cool to create a span whilst the proxy is executing the WASM plugin :)

In !10563 a ABI to trace inside WASM plugins is requested, this request however only focuses on the execution time of the plugin itself, nothing in the plugin.

Contributor guide