4 ms·
I've been able to get real-time stats in nginx by adding custom counters with the lua plugin and exporting a stats handler. http://wiki.nginx.org/HttpLuaModule
by gmjosack 11y ago
I've been able to get real-time stats in nginx by adding custom counters with the lua plugin and exporting a stats handler.
http://wiki.nginx.org/HttpLuaModule#ngx.shared.DICT http://wiki.nginx.org/HttpLuaModule#ngx.shared.DICT
- phildougherty 11y agoYou can also use collectd nginx module along with nginx stub-status module to gather some useful metrics.