Nginx statistics http_status_module

I am interested in statistics provided by http_status_module in particular statistics in the above section.

http://nginx.org/en/docs/http/ngx_http_status_module.html

However, they are only available as part of a commercial license. There is an open source version of this module.

thanks

+7
nginx
source share
2 answers

You can try to download and compile the source code.

http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_status_module.c?rev=b52b6c3bb2d1d6f809afbacbc2e2a1b090a68b40

I actually don't know if this supports the open source version of NGinx. You may have some dependencies that you will need to compile or adapt.

Hi

0
source

There are several projects that are approaching it:

https://github.com/vozlt/nginx-module-vts

And on senginx.org you can try to compile nginx with this module (ngx_http_statistics) with the need to fix some basic nginx files

Another alternative, depending on what type of statistics you need, is to use lua, and there are several projects on github to give you a start. Here is one that I used as the basis for my stat.

https://github.com/yandex-sysmon/nginx-lua-stats

0
source

All Articles