commit | cb8091200101b96013459266138ab4a68cd5c049 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 11 20:08:42 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 17:08:06 2016 +0100 |
tree | b027e71d8437043b832128e80494d9f96947e1ef | |
parent | b47785f8623191234733760c4030084d7d175929 [diff] |
MEDIUM: stats: support "show info typed" on the CLI This emits the field positions, names and types. It is more convenient than the default output for a parser that doesn't know all the fields. It simply relies on stats_emit_typed_data_field() and stats_emit_field_tags() added by previous patch for the output. A new stats format flag was added, STAT_FMT_TYPED, which is set when the "typed" keyword is specified on the CLI.