MINOR: stats: report the number of active peers in "show info"
authorWilly Tarreau <w@1wt.eu>
Mon, 5 Nov 2018 15:31:22 +0000 (16:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 Nov 2018 16:15:21 +0000 (17:15 +0100)
commit199ad24661e46351275c473e8f03cc0e32c7f260
tree1d1815f95efa4a529bd82defea97b6f19bcf0595
parent00098ea034d4e3a548916cac7f50058a7c1b5256
MINOR: stats: report the number of active peers in "show info"

Peers are the last type of activity which can maintain a job present, so
it's important to report that such an entity is still active to explain
why the job count may be higher than zero. Here by "ActivePeers" we report
peers sessions, which include both established connections and outgoing
connection attempts.
include/types/global.h
include/types/stats.h
src/haproxy.c
src/peers.c
src/stats.c