From 501a6fb08695ff23e176a3853d050a24e14c862d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org> Date: Wed, 10 Apr 2024 12:41:22 -0400 Subject: [PATCH] document my findings on nginx monitoring --- howto/cache.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/howto/cache.md b/howto/cache.md index 98ac42f9..5164d0d4 100644 --- a/howto/cache.md +++ b/howto/cache.md @@ -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 -- GitLab