111. h3req [.F..]: total number of HTTP/3 sessions processed by this object
since the worker process started
112. proto [L...]: protocol
+ 113. priv_idle_cur [...S]: current number of private idle connections
For all other statistics domains, the presence or the order of the fields are
not guaranteed. In this case, the header line should always be used to parse
"<tr><th>- unsafe:</th><td>%s</td></tr>"
"<tr><th>- safe:</th><td>%s</td></tr>"
"<tr><th>Estimated need of connections:</th><td>%s</td></tr>"
+ "<tr><th>Private idle connections:</th><td>%s</td></tr>"
"<tr><th>Active connections limit:</th><td>%s</td></tr>"
"<tr><th>Idle connections limit:</th><td>%s</td></tr>"
"</table></div></u>"
U2H(stats[ST_I_PX_IDLE_CONN_CUR].u.u32),
U2H(stats[ST_I_PX_SAFE_CONN_CUR].u.u32),
U2H(stats[ST_I_PX_NEED_CONN_EST].u.u32),
+ U2H(stats[ST_I_PX_PRIV_IDLE_CUR].u.u32),
LIM2A(stats[ST_I_PX_SLIM].u.u32, "-"),
stats[ST_I_PX_SRV_ILIM].type ? U2H(stats[ST_I_PX_SRV_ILIM].u.u32) : "-",
[ST_I_PX_H2REQ] = ME_NEW_FE_SHARED("h2req", NULL, FN_COUNTER, FF_U64, p.http.cum_req[2], STATS_PX_CAP__F__, "Total number of hTTP/2 sessions processed by this object since the worker process started"),
[ST_I_PX_H3REQ] = ME_NEW_FE_SHARED("h3req", NULL, FN_COUNTER, FF_U64, p.http.cum_req[3], STATS_PX_CAP__F__, "Total number of HTTP/3 sessions processed by this object since the worker process started"),
[ST_I_PX_PROTO] = { .name = "proto", .alt_name = NULL, .desc = "Protocol" },
+ [ST_I_PX_PRIV_IDLE_CUR] = { .name = "priv_idle_cur", .alt_name = "private_idle_connections_current",.desc = "Current number of private idle connections", .cap = STATS_PX_CAP____S},
};
/* Returns true if column at <idx> should be hidden.
if (flags & STAT_F_SHLGNDS && sv->cookie)
field = mkf_str(FO_CONFIG|FN_NAME|FS_SERVICE, sv->cookie);
break;
+ case ST_I_PX_PRIV_IDLE_CUR:
+ field = mkf_u32(0, sv->curr_sess_idle_conns);
+ break;
default:
/* not used for servers. If a specific field
* is requested, return an error. Otherwise continue.