]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: prepare to add a description with each stat/info field
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Oct 2019 05:39:11 +0000 (07:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Oct 2019 09:30:07 +0000 (11:30 +0200)
commiteaa55370c34bbb1ab9886fd5365d66eeadeb3f2e
tree21461d629137862342ed321eeaca6ac6fa3717d8
parent2f397387506f5f5797156191ac0c99a5f3a4ca36
MINOR: stats: prepare to add a description with each stat/info field

Several times some users have expressed the non-intuitive aspect of some
of our stat/info metrics and suggested to add some help. This patch
replaces the char* arrays with an array of name_desc so that we now have
some reserved room to store a description with each stat or info field.
These descriptions are currently empty and not reported yet.
include/proto/stats.h
src/hlua_fcn.c
src/stats.c