]> git.kaiwu.me - haproxy.git/commit
DOC: management: document 'clear counters server'
authorAlexander Stephan <alexander.stephan@sap.com>
Mon, 6 Jul 2026 09:26:58 +0000 (09:26 +0000)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Jul 2026 17:00:47 +0000 (19:00 +0200)
commit98a0050cc213c26a564c5284b7c9bb460530b47a
tree04e079d0b6d430da9cad47ba94dcae24b50c8eab
parent1f36b6e57626042695ebf00c39f57851282331c4
DOC: management: document 'clear counters server'

Add a section for the new 'clear counters server <backend>/<server>
[force]' CLI command in doc/management.txt, alongside 'clear counters'
and 'clear counters all'.

The entry documents the admin-only permission level (it clears
accumulated counters, like 'clear counters all') and the fact that both
accumulated counters and max values are reset, along with the clearable
module-registered extra counters, while the server's runtime state
(address, weight, admin state) and health checks are left untouched. It
describes the optional 'force' argument required to clear counters
stored in a shared-memory stats file, and calls out the Kubernetes
slot-recycle use case that motivated the command (per-entity
attribution after 'set server <b>/<s> name').
doc/management.txt