symphony.bdk.core.client.trace_id#

Module responsible for managing the trace ID sent as X-Trace-Id header and logged under the trace_id variable

Functions

add_x_trace_id(func)

Decorator of ApiClient.__call_api function so that it adds the X-Trace-Id header with the current trace id value to the HTTP call.

setup_trace_id_log_record_factory()

Adds the trace_id variable to the log records.

Classes

DistributedTracingContext()

Class to manage the tracing id context.