]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: implement a typed output format for stats
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Jan 2016 17:57:53 +0000 (18:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Mar 2016 16:24:15 +0000 (17:24 +0100)
commit1e62df92e33a9c33fb71cd1b585d8391a2a61465
treeefbe11959f0cf2284366d45db8b2d100ebe272d7
parentcb8091200101b96013459266138ab4a68cd5c049
MEDIUM: stats: implement a typed output format for stats

The output for each field is :
  field:<origin><nature><scope>:type:value

where field reminds the type of the object being dumped as well as its
position (pid, iid, sid), field number and field name. This way a
monitoring utility may very well report all available information without
knowing new fields in advance.

This format is also supported in the HTTP version of the stats by adding
";typed" after the URI, instead of ";csv" for the CSV format.

The doc was not updated yet.
src/dumpstats.c
src/proto_http.c