Skip to main content

Returns

Returns the current trace_id as a string, or None if no trace is currently active.

Example

current_trace_id = galtea.traces.get_current_id_from_context()

Parameters

This method takes no parameters.
This is an advanced method for debugging. When using add_to_context(), the parent-child relationship is established automatically.