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.

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)


3443
3444
3445
3446
3447
3448
3449
3450
# File 'lib/aws-sdk-xray/types.rb', line 3443

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

#idString

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

Returns:

  • (String)


3443
3444
3445
3446
3447
3448
3449
3450
# File 'lib/aws-sdk-xray/types.rb', line 3443

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

#limit_exceededBoolean

LimitExceeded is set to true when the trace has exceeded the ‘Trace document size` limit. For more information about this limit and other X-Ray limits and quotas, see [Amazon Web Services X-Ray endpoints and quotas].

[1]: docs.aws.amazon.com/general/latest/gr/xray.html

Returns:

  • (Boolean)


3443
3444
3445
3446
3447
3448
3449
3450
# File 'lib/aws-sdk-xray/types.rb', line 3443

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

#segmentsArray<Types::Segment>

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

Returns:



3443
3444
3445
3446
3447
3448
3449
3450
# File 'lib/aws-sdk-xray/types.rb', line 3443

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