Hi Christopher,

This first patch set to start cleaning prometheus and reuse more of
stats.c. I know this is not yet what we aimed in terms of reuse,
especially for the defines, but this is a starting point, hoping I did
not break everything. At least it is more incremental.

The first patch is around what we discussed very recently around
connection handling, and the rest is a first attempt to use fill_*
functions from stats.c

William Dauchy (5):
  MINOR: contrib/prometheus-exporter: avoid connection close header
  MINOR: contrib/prometheus-exporter: use fill_info for process dump
  MINOR: contrib/prometheus-exporter: use fill_fe_stats for frontend
    dump
  MINOR: contrib/prometheus-exporter: use fill_be_stats for backend dump
  MINOR: contrib/prometheus-exporter: use fill_sv_stats for server dump

 .../prometheus-exporter/service-prometheus.c  | 619 ++----------------
 include/haproxy/stats.h                       |   4 +-
 reg-tests/contrib/prometheus.vtc              |   8 -
 src/stats.c                                   |   6 +-
 4 files changed, 47 insertions(+), 590 deletions(-)

-- 
2.29.2


Reply via email to