]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: opentracing: exclude the use of haproxy variables for the OpenTracing context
authorMiroslav Zagorac <mzagorac@haproxy.com>
Wed, 8 Sep 2021 18:56:05 +0000 (20:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 12 Sep 2021 05:07:13 +0000 (07:07 +0200)
commit4cb2c83f465fb8a159c901d08cf86bd5f56fdb14
treef81a93fa3826ccc6038dfff252d18e6d570b1f53
parentcf6f574872714a35a56b468b16148c7302010941
BUILD: opentracing: exclude the use of haproxy variables for the OpenTracing context

Due to a recent change in the handling of haproxy variables, their use for
OpenTracing context transfer has been excluded from the compilation process.

The use of variables can be re-enabled if the newly defined variable
OT_USE_VARS is set to 1 when calling the 'make' utility.  However,
this should not be used for now as the compilation will end in error.

This change prevents the use of haproxy variables to convey the OpenTracing
context.  This means that the 'use-vars' parameter cannot be used in the
OpenTracing filter configuration for 'inject' and 'extract' operations.

An example configuration that uses this feature is in the test/ctx
directory, while the script to run that test is test/run-ctx.sh.

Then, the 'sess.ot.uuid' variable is no longer set when initializing the
OpenTracing session.  This means that this variable can still be used in
the OpenTracing configuration, but its contents will be empty.
Makefile
addons/ot/Makefile
addons/ot/include/filter.h
addons/ot/include/parser.h
addons/ot/src/event.c
addons/ot/src/filter.c
addons/ot/src/parser.c
addons/ot/src/scope.c