]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: convert stats_dump_li_stats() to use stats_dump_fields_csv()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jan 2016 14:41:29 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Mar 2016 16:08:04 +0000 (17:08 +0100)
commit4607fadb99eff59634690ebf6db822faf3900a6a
treeda8c5337af5de4895d1cc7a16e1e3e1d0170f08f
parentd72c917683c6b7cb5cab239a39a23460ca1756ee
MEDIUM: stats: convert stats_dump_li_stats() to use stats_dump_fields_csv()

This function now only fills the relevant fields with raw values and
calls stats_dump_fields_csv() for the CSV part. The output remains
exactly the same for now.

It is worth mentionning that l->cum_conn is being dumped into a cum_sess
field and that once we introduce an official cum_conn field we may have
to dump the same value at both places to maintain compatibility with the
existing stats.
src/dumpstats.c