commit | b47785f8623191234733760c4030084d7d175929 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 24 23:28:31 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 17:08:05 2016 +0100 |
tree | 07125fa7951a8b5c1ed170a076949c62fb7da2a8 | |
parent | 6060074a574686325faf4130c78283c39b50956f [diff] |
MINOR: stats: add functions to emit typed fields into a chunk New function stats_emit_typed_data_field() does exactly like stats_emit_raw_data_field() except that it also prints the data type after a colon. This will be used to print using the typed format. And function stats_emit_field_tags() appends a 3-letter code describing the origin, nature, and scope, followed by an optional delimiter. This will be particularly convenient to dump typed data.