Skip to main content

Command Palette

Search for a command to run...

Memory and CPU usage statistics among Kong plugins online (using OpenResty XRay)

Published
1 min read
Memory and CPU usage statistics among Kong plugins online (using OpenResty XRay)

We just published a new blog post:

https://blog.openresty.com/en/kong-plugin-mem-cpu-stats/

It introduces how to use OpenResty XRay to analyze the server processes of the Kong API gateway online, find out which Kong plugins consume the most CPU or memory in real-time, and further optimize the most expensive plugins at the Lua or C code level.

Because it is 100% non-invasive dynamic tracing, there is no need to modify or adjust Kong’s nginx target processes.