]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: promex: Expose the global node and description in process metrics
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2024 13:09:15 +0000 (14:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2024 13:24:31 +0000 (14:24 +0100)
commit451d216a5330c7d891c079c728e9be0a1744b388
tree641133f2cfd634ce223df7030b7eca84139a2f30
parenta930e99f4699676ea72f72ba1fb99c953da0d74e
MINOR: promex: Expose the global node and description in process metrics

The global node value is now exposed via "haproxy_process_node" metrics. The
metric value is always set to 1 and the node name itself is the "node"
label. The same is performed for the global description. But only if it is
defined. In that case "haproxy_process_description" metric is defined, with
1 as value and the description itself is set in the "desc" label.
addons/promex/README
addons/promex/service-prometheus.c