Class: Aws::XRay::Types::SamplingStrategy

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

Overview

Note:

When making an API call, you may pass SamplingStrategy data as a hash:

{
  name: "PartialScan", # accepts PartialScan, FixedRate
  value: 1.0,
}

The name and value of a sampling rule to apply to a trace summary.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of a sampling rule.

Returns:

  • (String)


1815
1816
1817
1818
1819
# File 'lib/aws-sdk-xray/types.rb', line 1815

class SamplingStrategy < Struct.new(
  :name,
  :value)
  include Aws::Structure
end

#valueFloat

The value of a sampling rule.

Returns:

  • (Float)


1815
1816
1817
1818
1819
# File 'lib/aws-sdk-xray/types.rb', line 1815

class SamplingStrategy < Struct.new(
  :name,
  :value)
  include Aws::Structure
end