PythonTracer
LinkedTraceSpans
Attributes
invocation_span
:Span
linked_root_span
:Span
_noop_linked_trace_spans()
def _noop_linked_trace_spans(invocation_span=trace_api.INVALID_SPAN) -> LinkedTraceSpans:Parameters
invocation_span
:Span
Default:
trace_api.INVALID_SPAN
Returns
LinkedTraceSpans
start_linked_trace()
def start_linked_trace(name, source_span, attributes=None, *, span_type='span', end_on_exit=True, end_invocation_on_exit=True) -> Iterator[LinkedTraceSpans]:Parameters
name
required:str
source_span
required:Span
attributes
:Attributes
Default:
None
span_type
:Optional[str]
Default:
'span'
end_on_exit
:bool
Default:
True
end_invocation_on_exit
:bool
Default:
True
Returns
Iterator[LinkedTraceSpans]