I am currently adding distributed tracing to a project. However, trace spans use thread-local variables to store the trace context, e.g. traceId or spanId
traceId
spanId