]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: promex: test applet resume in stress mode
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 Feb 2026 16:05:37 +0000 (17:05 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 26 Feb 2026 17:24:36 +0000 (18:24 +0100)
commit00a106059eecf9a01b4d455314bdb59e792f1082
tree7caeab4e00d810873f11ba457d7b7aaf86d2f3cb
parent9db62d408a2011253ecd5ba748039fb30265b773
MINOR: promex: test applet resume in stress mode

Implement a stress mode with force yield for promex applet each time a
metric is displayed. This is implemented by returning 0 in
promex_dump_ts() each time the output buffer is not empty.

To test this, haproxy must be compiled with DEBUG_STRESS and the
following configuration must be used :

  global
    stress-level 1
addons/promex/service-prometheus.c