You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::XRay::Types::Trace

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A collection of segment documents with matching trace IDs.

Instance Attribute Summary collapse

Instance Attribute Details

#durationFloat

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

Returns:

  • (Float)

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

#idString

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

Returns:

  • (String)

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

#segmentsArray<Types::Segment>

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

Returns:

  • (Array<Types::Segment>)

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