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)


1956
1957
1958
1959
1960
1961
# File 'lib/aws-sdk-xray/types.rb', line 1956

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)


1956
1957
1958
1959
1960
1961
# File 'lib/aws-sdk-xray/types.rb', line 1956

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:



1956
1957
1958
1959
1960
1961
# File 'lib/aws-sdk-xray/types.rb', line 1956

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