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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-xray/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of a sampling rule.

Returns:

  • (String)


2680
2681
2682
2683
2684
2685
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2680

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

#valueFloat

The value of a sampling rule.

Returns:

  • (Float)


2680
2681
2682
2683
2684
2685
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 2680

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