MINOR: debug/cli: replace "debug dev counters" with "debug counters"
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Nov 2024 15:19:05 +0000 (16:19 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Jan 2025 14:56:04 +0000 (15:56 +0100)
commitd8f4983dc1ca221f3565b4c553ee589b896de5cf
tree2e333739ad471f2de1c172ba815c586db1414ee1
parentf4dd6e1e48ce048abc4349773cf8474c1aee9f40
MINOR: debug/cli: replace "debug dev counters" with "debug counters"

"debug dev" commands are not meant to be used by end-users, and are
purposely not documented. Yet due to their usefulness in troubleshooting
sessions, users are increasingly invited by developers to use some of
them.

"debug dev counters" is one of them. Better move it to "debug counters"
and document it so that users can check them even if the output can look
cryptic at times. This, combined with DEBUG_GLITCHES, can be convenient
to observe suspcious activity. The doc however precises that the format
may change between versions and that new entries/types might appear
within a stable branch.

(cherry picked from commit 4420939fcd07f4ad0517b4bfa8a4788fefeb3f80)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
doc/management.txt
src/debug.c