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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-xray/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 'gems/aws-sdk-xray/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 'gems/aws-sdk-xray/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 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 813

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