class documentation

class TemporalTraceProvider(DefaultTraceProvider): (source)

Constructor: TemporalTraceProvider()

View In Hierarchy

A trace provider that integrates with Temporal workflows.

Method __enter__ Enter the context of the Temporal trace provider.
Method __exit__ Exit the context of the Temporal trace provider.
Method __init__ Initialize the TemporalTraceProvider.
Method gen_group_id Generate a group ID.
Method gen_span_id Generate a span ID.
Method gen_trace_id Generate a new trace ID.
Method time_iso Return the current deterministic time in ISO 8601 format.
Instance Variable _multi_processor Undocumented
Instance Variable _original_provider Undocumented
def __enter__(self): (source)

Enter the context of the Temporal trace provider.

def __exit__(self, exc_type, exc_val, exc_tb): (source)

Exit the context of the Temporal trace provider.

def __init__(self): (source)

Initialize the TemporalTraceProvider.

def gen_group_id(self) -> str: (source)

Generate a group ID.

def gen_span_id(self) -> str: (source)

Generate a span ID.

def gen_trace_id(self) -> str: (source)

Generate a new trace ID.

def time_iso(self) -> str: (source)

Return the current deterministic time in ISO 8601 format.

_multi_processor = (source)

Undocumented

_original_provider = (source)

Undocumented