You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::XRay::Types::SamplingStrategy
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::SamplingStrategy
- Defined in:
- (unknown)
Overview
Note:
When passing SamplingStrategy as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "PartialScan", # accepts PartialScan, FixedRate
value: 1.0,
}
The name and value of a sampling rule to apply to a trace summary.
Returned by:
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.
Possible values:
- PartialScan
- FixedRate
#value ⇒ Float
The value of a sampling rule.