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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-xray/types.rb

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)


813
814
815
816
817
818
# File 'lib/aws-sdk-xray/types.rb', line 813

class Trace < Struct.new(
  :id,
  :duration,
  :segments)
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


813
814
815
816
817
818
# File 'lib/aws-sdk-xray/types.rb', line 813

class Trace < Struct.new(
  :id,
  :duration,
  :segments)
  include Aws::Structure
end

#segmentsArray<Types::Segment>

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

Returns:



813
814
815
816
817
818
# File 'lib/aws-sdk-xray/types.rb', line 813

class Trace < Struct.new(
  :id,
  :duration,
  :segments)
  include Aws::Structure
end