]> git.kaiwu.me - haproxy.git/commit
MINOR: otel: added debug thread ID support for the OTel C wrapper library
authorMiroslav Zagorac <mzagorac@haproxy.com>
Mon, 13 Apr 2026 22:11:38 +0000 (00:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Apr 2026 13:28:05 +0000 (15:28 +0200)
commita19070f7449d44725cda65e9d269867957c7b1f4
treea71ca9c8d55cb2eec262ca3919b63255c46f8e03
parent1acf147e2aed40c924b390b508f266a1a4aa506e
MINOR: otel: added debug thread ID support for the OTel C wrapper library

Added per-thread ID tracking for the OpenTelemetry C wrapper debug system.
Registered HAProxy worker threads are identified by their tid;
unregistered threads (such as those created internally by the OTel SDK)
receive unique IDs from an atomic offset counter.
addons/otel/include/include.h
addons/otel/src/filter.c