AWS X-Ray
API Reference (API Version 2016-04-12)

SamplingTargetDocument

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.

Contents

FixedRate

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

Type: Double

Required: No

Interval

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

Type: Integer

Required: No

ReservoirQuota

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

Type: Integer

Required: No

ReservoirQuotaTTL

When the reservoir quota expires.

Type: Timestamp

Required: No

RuleName

The name of the sampling rule.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: