Hi everyone,
I’m aware this argument has already been discussed many times in this community, however I’ll try to bring it back hoping for your help.
I know the expected behaviour of HA-Proxy is to drop the stats after reloading but I was wondering if there is any way to implement a workaround for this issue.
Nowadays monitoring is everything! Or at least very very important
Provided that the server-state-file does not save the stats and thus they can’t be loaded from file during a reload, is there anyway to query with socat ‘show stat’ the older workers or is there any other way to monitor them after a reload?
The Telegraf plugin supports multiple local sockets but don’t know how to monitor the older workers sockets, if there is a way to do this.
One shot saving the stats before the reload doesn’t solve the problem since it not provide the awareness of the state of that sessions in time.
Seamless reloads work perfectly but the fact of lossing stats is an issue I would really want to solve.
Version & Configs:
- HA-Proxy version 2.0.15
- master-worker
- nbproc 1
- stats socket /run/haproxy/stat.sock user haproxy group haproxy mode 660 level admin expose-fd listeners
I will appreciate any advice,
“For Great Justice”
1 post - 1 participant