Skip to content
Snippets Groups Projects
Verified Commit 501a6fb0 authored by anarcat's avatar anarcat
Browse files

document my findings on nginx monitoring

parent 3340418e
No related branches found
No related tags found
No related merge requests found
Pipeline #158796 passed with warnings
......@@ -1043,7 +1043,10 @@ There are two solutions to work around this problem:
* use a third-party module like [vts](https://github.com/vozlt/nginx-module-vts) or [sts](https://github.com/vozlt/nginx-module-sts) and the
[exporter](https://github.com/hnlq715/nginx-vts-exporter) to expose those metrics - the vts module doesn't seem
to be very well maintained (no release since 2018) and it's unclear
if this will work for our use case
if this will work for our use case. Update: the vts module seems
better maintained now and has Prometheus metrics support, the
[nginx-vts-exporter](https://github.com/sysulq/nginx-vts-exporter) is marked as deprecated. A [RFP for the
module was filed](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068764). There is also a [lua-based exporter](https://github.com/knyar/nginx-lua-prometheus).
Here's an example of how to do the mtail hack. First tell nginx to
write to syslog, to act as a buffer, so that parsing doesn't slow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment