]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: add persistent state to typed output format
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 15 Apr 2025 09:49:42 +0000 (11:49 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 1 Jul 2025 12:15:03 +0000 (14:15 +0200)
commit747a812066464d58a5192594a644212fe6703f2f
tree5b89d98a5ffe198ebdd052e31c25096aeaede800
parentbd076f8619568b1a2f0193ac3e82e7999bce7e06
MEDIUM: stats: add persistent state to typed output format

Add a fourth character to the second column of the "typed output format"
to indicate whether the value results from a volatile or persistent metric
('V' or 'P' characters respectively). A persistent metric means the value
could possibily be preserved across reloads by leveraging a shared memory
between multiple co-processes. Such metrics are identified as "shared" in
the code (since they are possibly shared between multiple co-processes)

Some reg-tests were updated to take that change into account, also, some
outputs in the configuration manual were updated to reflect current
behavior.
doc/management.txt
include/haproxy/stats.h
reg-tests/http-messaging/http_splicing.vtc
reg-tests/http-messaging/http_splicing_chunk.vtc
reg-tests/stats/stats-file.vtc
src/stats.c