]> git.kaiwu.me - haproxy.git/commit
MINOR: otel: added log-format support to the sample parser and runtime
authorMiroslav Zagorac <mzagorac@haproxy.com>
Tue, 3 Feb 2026 20:36:11 +0000 (21:36 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 07:23:26 +0000 (09:23 +0200)
commitbc6402f60925bd9a9670b2ec9e10dba6b100d869
tree36b24ed5089cb69c3e2aca90cc15006f8a991630
parent40ac0fd932cd5ea45bc9d73a4e0a878cc13039f6
MINOR: otel: added log-format support to the sample parser and runtime

Extended flt_otel_parse_cfg_sample() to accept log-format strings in
addition to bare sample expressions.  Added lf_expr and lf_used fields
to flt_otel_conf_sample.

Extended flt_otel_sample_add() to evaluate log-format expressions when
lf_used was set.
addons/otel/include/conf.h
addons/otel/src/conf.c
addons/otel/src/parser.c
addons/otel/src/util.c