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

#duration ⇒ 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.

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.

#id ⇒ String

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.

#limit_exceeded ⇒ Boolean

LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For more information about quotas, see AWS X-Ray endpoints and quotas.

Returns:

  • (Boolean) —

    LimitExceeded is set to true when the trace has exceeded one of the defined quotas.

#segments ⇒ Array<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.