HAProxy Enterprise Documentation 1.8r2
clear counters all
Clear all counters on the Stats page.
On the Stats page, some counters accumulate over time, while others record the peak that a counter has reached. Use
clear counters all to reset all counters to zero. The result is the same as restarting the load balancer, which also resets these values.
This resets all counters to zero:
$ echo "clear counters all" | socat stdio tcp4-connect:127.0.0.1:9999
Next up Lua scripts