Skip to content

Trace

Source code in docs_src/capo_xray/types/trace.py
class Trace(TypedDict, closed=True):
    id: NotRequired["capo_xray.types.trace_id.TraceId"]
    """<p>The unique identifier for the request that generated the trace's segments and subsegments.</p>"""
    duration: NotRequired["capo_xray.types.nullable_double.NullableDouble"]
    """<p>The length of time in seconds between the start time of the earliest segment that started and the end time of the last segment that completed.</p>"""
    limit_exceeded: NotRequired["capo_xray.types.nullable_boolean.NullableBoolean"]
    """<p>LimitExceeded is set to true when the trace has exceeded the <code>Trace document size</code> limit. For more information about this limit and other X-Ray limits and quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/xray.html">Amazon Web Services X-Ray endpoints and quotas</a>.</p>"""
    segments: NotRequired["capo_xray.types.segment_list.SegmentList"]
    """<p>Segment documents for the segments and subsegments that comprise the trace.</p>"""

duration instance-attribute

duration: NotRequired[NullableDouble]

The length of time in seconds between the start time of the earliest segment that started and the end time of the last segment that completed.

id instance-attribute

id: NotRequired[TraceId]

The unique identifier for the request that generated the trace's segments and subsegments.

limit_exceeded instance-attribute

limit_exceeded: NotRequired[NullableBoolean]

LimitExceeded is set to true when the trace has exceeded the Trace document size limit. For more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and quotas.

segments instance-attribute

segments: NotRequired[SegmentList]

Segment documents for the segments and subsegments that comprise the trace.