]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: opentracing: use the haproxy function to generate uuid
authorMiroslav Zagorac <mzagorac@haproxy.com>
Thu, 9 Sep 2021 08:31:12 +0000 (10:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 12 Sep 2021 05:08:14 +0000 (07:08 +0200)
commita75f3404c8763486c61f931b368ece76a9af7f42
treeb53f641ee314d46655a6d3d1b24c8155f1e542b4
parent71cb1ab6b9bc4aa0405df0ab2447430eb3402bdc
CLEANUP: opentracing: use the haproxy function to generate uuid

To avoid duplicate source code, the original haproxy function is used to
generate the OpenTracing runtime context UUID.

Also, the structure flt_ot_runtime_context is simplified because the
detailed definition of UUID is removed from it (struct flt_ot_uuid),
ie the UUID is left only in the form of a string.
addons/ot/include/scope.h
addons/ot/src/scope.c