class documentation

Tracing interceptor for workflow calls.

See TracingInterceptor docs on why one might want to subclass this class.

Method __init__ Initialize a tracing workflow interceptor.
Async Method execute_workflow Implementation of temporalio.worker.WorkflowInboundInterceptor.execute_workflow.
Async Method handle_query Implementation of temporalio.worker.WorkflowInboundInterceptor.handle_query.
Async Method handle_signal Implementation of temporalio.worker.WorkflowInboundInterceptor.handle_signal.
Async Method handle_update_handler Implementation of temporalio.worker.WorkflowInboundInterceptor.handle_update_handler.
Method handle_update_validator Implementation of temporalio.worker.WorkflowInboundInterceptor.handle_update_validator.
Method init Implementation of temporalio.worker.WorkflowInboundInterceptor.init.
Instance Variable header_key Undocumented
Instance Variable payload_converter Undocumented
Instance Variable text_map_propagator Undocumented
Static Method _from_context Undocumented
Method _completed_span Undocumented
Method _context_carrier_to_headers Undocumented
Method _context_to_headers Undocumented
Method _load_workflow_context_carrier Undocumented
Method _set_on_context Undocumented
Method _top_level_workflow_context Undocumented
Instance Variable _extern_functions Undocumented
Instance Variable _workflow_context_carrier Undocumented

Inherited from WorkflowInboundInterceptor:

Instance Variable next Undocumented

Initialize a tracing workflow interceptor.

header_key: str = (source)

Undocumented

payload_converter = (source)

Undocumented

def _completed_span(self, span_name: str, *, link_context_carrier: Optional[_CarrierDict] = None, add_to_outbound: Optional[_InputWithHeaders] = None, new_span_even_on_replay: bool = False, additional_attributes: opentelemetry.util.types.Attributes = None, exception: Optional[Exception] = None, kind: opentelemetry.trace.SpanKind = opentelemetry.trace.SpanKind.INTERNAL): (source)

Undocumented

Undocumented

def _load_workflow_context_carrier(self) -> Optional[_CarrierDict]: (source)

Undocumented

Undocumented

@contextmanager
def _top_level_workflow_context(self, *, success_is_complete: bool) -> Iterator[None]: (source)

Undocumented

_extern_functions = (source)

Undocumented

_workflow_context_carrier = (source)

Undocumented