Le 17/01/2021 à 18:27, William Dauchy a écrit :
Hello Christopher,
Here is a small patch set which follows our discussion here:
https://www.mail-archive.com/[email protected]/msg39456.html
The first patch proposes to be able to select one field or all to fill
up the table. Then The second patch is making use of it.
If we validate the approach, I will continue on backend/servers.
tell me what you think!
William Dauchy (2):
MEDIUM: stats: allow to select one field in `stats_fill_fe_stats`
MINOR: contrib/prometheus-exporter: use fill_fe_stats for frontend
dump
.../prometheus-exporter/service-prometheus.c | 132 ++--------
include/haproxy/stats.h | 4 +-
src/hlua_fcn.c | 2 +-
src/stats.c | 228 +++++++++++++-----
4 files changed, 186 insertions(+), 180 deletions(-)
Thanks William,
It's ok for me this way. I guess now you want to do the same for the backends
and the servers :)
Willy, same question. Is it good for you ?
--
Christopher Faulet