Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nginx http_status_module statistics

Tags:

nginx

I am interested in the statistics provided by the http_status_module particularly the statistics in the upstream section.

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

However, they are only available as part of the commercial license. Is there an open source version of this module.

Thanks

like image 265
user3037552 Avatar asked Nov 26 '13 17:11

user3037552


1 Answers

There are a couple of project that come close to it a new one:

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

And in senginx.org you can try to compile nginx with that module (ngx_http_statistics) with requires to patch some core files of nginx

Another alternative depending on what kind of stats you need would be to use lua and there are several project on this on github to give you a head start. here is one i used as a base for my stat.

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

like image 106
steven Avatar answered Oct 12 '22 14:10

steven