]> git.kaiwu.me - haproxy.git/commit
MINOR: promex: use watcher to iterate over backend instances
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 Feb 2026 15:22:12 +0000 (16:22 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 27 Feb 2026 09:28:24 +0000 (10:28 +0100)
commitdd1990a97a30beae0d92afea76038d3c300f88c6
treecd11a7a633d69cae099c68e7601c564797ed6369
parent20376c54e2166a0882b71b26326360786f79ebdb
MINOR: promex: use watcher to iterate over backend instances

Ensures proxies iteration in promex applet is safe via a new watcher
member. The principle is similar to the one already used for servers
iteration.

Note that ctx.p[0] is not updated anymore at the end of a function, as
this is automatically done via the watcher itself.
addons/promex/service-prometheus.c