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.

Constant Summary collapse

SENSITIVE =
[]

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)


2235
2236
2237
2238
2239
2240
2241
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2235

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

#idString

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

Returns:

  • (String)


2235
2236
2237
2238
2239
2240
2241
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2235

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

#segmentsArray<Types::Segment>

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

Returns:



2235
2236
2237
2238
2239
2240
2241
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2235

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