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
show all
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

Instance Attribute Details

#nameString

The name of a sampling rule.

Possible values:

  • PartialScan
  • FixedRate

Returns:

  • (String)

    The name of a sampling rule.

#valueFloat

The value of a sampling rule.

Returns:

  • (Float)

    The value of a sampling rule.