OpenResty: record the Lua execution time per request in ngx.ctx via LD_PRELOAD

📝

内容提要

TL;DR How can I log the Lua execution time of each request (excluding time spent on asynchronous IO) in ngx.ctx in a non-intrusive, zero-cost way? The Lua execution time is the sum of the...

🏷️

标签

➡️

继续阅读