]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Fri, 2 Oct 2009 20:51:14 +0000 (22:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 3 Oct 2009 05:10:14 +0000 (07:10 +0200)
commit48cb2aed5aab2dec7af77055a3cd9a158727527a
tree21d4a4ee9445f6c06e99bcb4506eac64ee7715cc
parent39c9ba72a7fdf3ecf11454f895c84befa0509b97
[MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2

This patch implements "description" (proxy and global) and "node" (global)
options, removes "node-name" and adds "show-node" & "show-desc" options
for "stats". It also changes the way the header lines (with proxy name) and
the statistics are displayed, so stats no longer look so clumsy with very
long names.

Instead of "node-name" it is possible to use show-node/show-desc with
an optional parameter that overrides a default node/description.

backend cust-0045
        # report specific values for this customer
        stats show-node Europe
        stats show-desc Master node for Europe, Asia, Africa
doc/configuration.txt
include/common/uri_auth.h
include/types/global.h
include/types/proxy.h
src/cfgparse.c
src/dumpstats.c
src/haproxy.c
src/uri_auth.c