]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: make stats_dump_be_stats() use stats fields for HTML dump
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jan 2016 16:14:42 +0000 (17:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Mar 2016 16:08:04 +0000 (17:08 +0100)
commit770c217bb1ff792387c79dd27083d724009e433c
treead36cee55ae54ffbfe819d3166b2823a78f094b9
parentf6eecbece15cf48e6943d2d674c3c1f9acee1e01
MEDIUM: stats: make stats_dump_be_stats() use stats fields for HTML dump

Some fields are still needed to complete the conversion :
  - px->srv : used to take decisions when backend has no server (eg: print down or not)
  - algo string (useful for CSV as well) // only if SHLGNDS
  - cookie_name (useful for CSV as well) // only if SHLGNDS
  - px->mode == HTTP (or px->mode as a string) // same for frontend
  - px->be_counters.intercepted_req (stats and redirects ?)

The following field already has a place but was not presented in the
CSV output, so it should simply be added afterwards :
  - px->be_counters.http.cum_req (was in HTML and missing from CSV)
src/dumpstats.c