]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: create fields types suitable for all CSV output data
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Jan 2016 16:23:25 +0000 (17:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Mar 2016 16:08:04 +0000 (17:08 +0100)
commit8e62c05af28bec14b9247d2a22c3984a94c18486
tree5d572dcb42b2787204b23598ffb8aaf6a2e6076f
parente237fe1172a6e9c562617ccdd38a4a8d58f7ab6a
MINOR: stats: create fields types suitable for all CSV output data

We're preparing for various data types for each stats field as they
appear in the CSV output. For now we only cover the regular types handled
by printf, so we have 32 and 64 bit ints and counters, strings, and of
course "empty" to indicate that there's nothing in the field and which
guarantees that any accessed entry will return 0.

More types will surely come later so that some fields are properly
represented. For example, we could see limits where only the value 0
doesn't show up, or human time, etc.
include/proto/dumpstats.h