You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::XRay::Types::SamplingTargetDocument

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.

Instance Attribute Summary collapse

Instance Attribute Details

#fixed_rateFloat

The percentage of matching requests to instrument, after the reservoir is exhausted.

Returns:

  • (Float)

    The percentage of matching requests to instrument, after the reservoir is exhausted.

#intervalInteger

The number of seconds for the service to wait before getting sampling targets again.

Returns:

  • (Integer)

    The number of seconds for the service to wait before getting sampling targets again.

#reservoir_quotaInteger

The number of requests per second that X-Ray allocated for this service.

Returns:

  • (Integer)

    The number of requests per second that X-Ray allocated for this service.

#reservoir_quota_ttlTime

When the reservoir quota expires.

Returns:

  • (Time)

    When the reservoir quota expires.

#rule_nameString

The name of the sampling rule.

Returns:

  • (String)

    The name of the sampling rule.