envoyproxy/envoy

Extension overhead latency breakdown

Open

#28,470 opened on Jul 18, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/extensionenhancementhelp wanted

Repository metrics

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

Description

It would be very useful for extension operators and extension writers to see how much time is spent in the extension code (Lua, Wasm, ext_proc), to troubleshoot and root cause excessive latency. At a minimum, the breakdown could be stored per request in a filter state and emitted as an access log. I think there's some code that does this for ext_proc but it needs to be generalized to other extensions.

Contributor guide