MINOR: stats: pass the appctx flags to stats_fill_info()
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 05:43:53 +0000 (07:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 08:52:12 +0000 (10:52 +0200)
commit0b26b3866ccf10c78e8f46b9c0d104f97d69a8cf
treefafa6096904a7a4d39a2195529e670f34b915bae
parent6004fb768160ff69f7059c47695b8c3eaecf9c83
MINOR: stats: pass the appctx flags to stats_fill_info()

Currently the stats filling function knows nothing about the caller's
needs, so let's pass the STAT_* flags so that it can adapt to the
requester's constraints.
addons/promex/service-prometheus.c
include/haproxy/stats.h
src/hlua_fcn.c
src/stats.c