class Aws::XRay::Types::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].

[1]: docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html

@!attribute [rw] rule_name

The name of the sampling rule.
@return [String]

@!attribute [rw] fixed_rate

The percentage of matching requests to instrument, after the
reservoir is exhausted.
@return [Float]

@!attribute [rw] reservoir_quota

The number of requests per second that X-Ray allocated for this
service.
@return [Integer]

@!attribute [rw] reservoir_quota_ttl

When the reservoir quota expires.
@return [Time]

@!attribute [rw] interval

The number of seconds for the service to wait before getting
sampling targets again.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingTargetDocument AWS API Documentation

Constants

SENSITIVE