Class: Aws::XRay::Types::SamplingStrategy
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::SamplingStrategy
- 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of a sampling rule.
-
#value ⇒ Float
The value of a sampling rule.
Instance Attribute Details
#name ⇒ String
The name of a sampling rule.
2700 2701 2702 2703 2704 2705 |
# File 'lib/aws-sdk-xray/types.rb', line 2700 class SamplingStrategy < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Float
The value of a sampling rule.
2700 2701 2702 2703 2704 2705 |
# File 'lib/aws-sdk-xray/types.rb', line 2700 class SamplingStrategy < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end |