Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus". This is why I recommend switching to HAProxy.
I always wonder - why no one from open source community has created better stats module? Is there something in the license that prohibits creation of modules that overlap with Nginx Plus?
Show HN: Top, but for Nginx
61–70 of 72 posts
Re: Show HN: Top, but for Nginx
#62Maybe not as lightweight, but GoAccess ( https://github.com/allinurl/goaccess ) does an awesome job at parsing the logs and displaying statistics, works for nginx and other webservers too
Re: Show HN: Top, but for Nginx
#63My last company had something like that and included response time percentiles (50th, 90th, 95th, 99th) and we had these values graphed and displayed on a big screen in our office. Along with a ton of other performance stats: queries per second, various measures of system load, etc. Averages can lie, especially when something like an empty query can take close to zero time compared to a non-trivial transaction. If so…
And ofcourse there is another problem of correctly storing all your latencies accurately which becomes pretty hard if you are using something like prometheus.
Re: Show HN: Top, but for Nginx
#64Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus". This is why I recommend switching to HAProxy.
Wish all distros shipped https://github.com/vozlt/nginx-module-vts by default. It's a minor pain to self-build
Re: Show HN: Top, but for Nginx
#65Earlier quoted context omitted.
I always wonder - why no one from open source community has created better stats module? Is there something in the license that prohibits creation of modules that overlap with Nginx Plus?
I would assume it's the lack of dynamic module support for nginx and you need to compile your own build even if someone creates a module.
One thing that comes to my mind is that maybe this can't be solved by a module due to missing API in open source Nginx.
Re: Show HN: Top, but for Nginx
#66Earlier quoted context omitted.
I was thinking the exact same thing ironically. Static file serving? Sure! Load balanced proxying? mod_proxy_balancer is great! Fine grained caching? mod_disk_cache is also great Updating loadbalancer bits via the api? mod_proxy_balancer supports a balancer-manager endpoint for that to do live updates monitoring? mod_status + prometheus exporter or mod_prometheus_status native LE support? https://github.com/icing/mod…
Have you actually seen an apache in the wild in the last few years? No one picks it anymore, I'm not sure why.. Well, besides the fact that nginx is now nginx-ingress-controller and we all use k8.. :/
Re: Show HN: Top, but for Nginx
#67Maybe not as lightweight, but GoAccess ( https://github.com/allinurl/goaccess ) does an awesome job at parsing the logs and displaying statistics, works for nginx and other webservers too
Goaccess used to work perfectly, but recently when ever I try to run the real time HTML command, it exits without any error messages after ~2 million records. Maybe out of memory.. any ideas?
We're running v1.4 in production and it has been working pretty nice for us.
Re: Show HN: Top, but for Nginx
#68Maybe not as lightweight, but GoAccess ( https://github.com/allinurl/goaccess ) does an awesome job at parsing the logs and displaying statistics, works for nginx and other webservers too
Last time I tried it was a pain to set it up to keep up with log rotations and retain all the records.
You should post the issue on their https://github.com/allinurl/goaccess, they may be able to help you.
Re: Show HN: Top, but for Nginx
#69Earlier quoted context omitted.
Have you actually seen an apache in the wild in the last few years? No one picks it anymore, I'm not sure why.. Well, besides the fact that nginx is now nginx-ingress-controller and we all use k8.. :/
Yes, but I know some of the apache.org SRE so maybe my view is biased.
Re: Show HN: Top, but for Nginx
#70Earlier quoted context omitted.
I was thinking the exact same thing ironically. Static file serving? Sure! Load balanced proxying? mod_proxy_balancer is great! Fine grained caching? mod_disk_cache is also great Updating loadbalancer bits via the api? mod_proxy_balancer supports a balancer-manager endpoint for that to do live updates monitoring? mod_status + prometheus exporter or mod_prometheus_status native LE support? https://github.com/icing/mod…
Have you actually seen an apache in the wild in the last few years? No one picks it anymore, I'm not sure why.. Well, besides the fact that nginx is now nginx-ingress-controller and we all use k8.. :/
That said, netcraft says Apache still runs almost 25% of the internet, which is no small stake: https://news.netcraft.com/archives/category/web-server-surve...