SamplingTargetDocument - Amazon X-Ray
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 for 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 Amazon SDKs, see the following: