class documentation
class TemporalTraceProvider(DefaultTraceProvider): (source)
Constructor: TemporalTraceProvider(auto_close_in_workflows)
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 |
Generate a group ID. |
| Method | gen |
Generate a span ID. |
| Method | gen |
Generate a new trace ID. |
| Method | time |
Return the current deterministic time in ISO 8601 format. |
| Instance Variable | _multi |
Undocumented |
| Instance Variable | _original |
Undocumented |
def __exit__(self, exc_type:
type[ BaseException], exc_val: BaseException, exc_tb: TracebackType):
(source)
¶
Exit the context of the Temporal trace provider.