]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: also support a "no-maint" show stat modifier
authorWilly Tarreau <w@1wt.eu>
Fri, 23 Oct 2020 15:28:57 +0000 (17:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Oct 2020 16:11:24 +0000 (18:11 +0200)
commit3e320367014c742814ba494594cdb8340b1161f1
tree9d361c90a8806aad848ccf1203c438d76d5018f2
parent65141ffc4f2ad51484abf9a7635113ba5f080d19
MINOR: stats: also support a "no-maint" show stat modifier

"no-maint" is a bit similar to "up" except that it will only hide
servers that are in maintenance (or disabled in the configuration), and
not those that are enabled but failed a check. One benefit here is to
significantly reduce the output of the "show stat" command when using
large server-templates containing entries that are not yet provisioned.

Note that the prometheus exporter also has such an option which does
the exact same.
doc/management.txt
include/haproxy/stats-t.h
src/http_ana.c
src/stats.c