MINOR: contrib/prometheus-exporter: use fill_info for process dump
authorWilliam Dauchy <wdauchy@gmail.com>
Mon, 11 Jan 2021 19:07:49 +0000 (20:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Jan 2021 14:22:55 +0000 (15:22 +0100)
commitd40452e2cf151e220aba67d00959a358ed801b4a
treeb8ba1f5368f8d7fa82578ce46b976fea4255430a
parent2f19974989e1622543279bff20b4a7ccd5ae6203
MINOR: contrib/prometheus-exporter: use fill_info for process dump

use `stats_fill_info` when possible to avoid duplicating code.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
(cherry picked from commit 5d9b8f3c9347a1a10b86f81d70b22c3cab0e6925)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/prometheus-exporter/service-prometheus.c
include/haproxy/stats.h
src/stats.c