Sorry to bring this topic back.
We are using haproxy for load balancer. We’d like to auto-provision servers based on the average TCP connections to the servers. Unfortunately, we found that stats are reset to 0 when haproxy config is changed and haproxy is reloaded. The TCP connections are still alive.
I have read some threads in the past (see below). It seems the issue still exists. I understand the stats are reset to 0 if haproxy is restarted. But why stats are reset when haproxy is reload and connections are still alive ?
Anyone has good suggestions ? restart might not be a good solution. We are using HAProxy version 2.2.9-2+deb11u3