]> git.kaiwu.me - haproxy.git/commit
MINOR: stats: add 3 new output values for the per-server idle conn state
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Jun 2020 11:51:05 +0000 (13:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Jun 2020 12:26:05 +0000 (14:26 +0200)
commit3bb617cfe0ae9739f223ca779a8de93086671c91
tree026eb086c884e00c5c28ff4c3209dff4cfb65c2c
parent13c1a01de6aa71acdaa831ae2f018439b58fc42c
MINOR: stats: add 3 new output values for the per-server idle conn state

The servers have internal states describing the status of idle connections,
unfortunately these were not exported in the stats. This patch adds the 3
following gauges:

 - idle_conn_cur : Current number of unsafe idle connections
 - safe_conn_cur : Current number of safe idle connections
 - used_conn_cur : Current number of connections in use
include/haproxy/stats-t.h
src/stats.c