Skip to content

RetrievedTrace

Source code in docs_src/capo_xray/types/retrieved_trace.py
class RetrievedTrace(TypedDict, closed=True):
    id: NotRequired["capo_xray.types.trace_id.TraceId"]
    """<p> The unique identifier for the span. </p>"""
    duration: NotRequired["capo_xray.types.nullable_double.NullableDouble"]
    """<p> The length of time in seconds between the start time of the root span and the end time of the last span that completed. </p>"""
    spans: NotRequired["capo_xray.types.span_list.SpanList"]
    """<p> Spans that comprise the trace. </p>"""

duration instance-attribute

duration: NotRequired[NullableDouble]

The length of time in seconds between the start time of the root span and the end time of the last span that completed.

id instance-attribute

id: NotRequired[TraceId]

The unique identifier for the span.

spans instance-attribute

spans: NotRequired[SpanList]

Spans that comprise the trace.