SamplingTargetDocument
import type { SamplingTargetDocument } from "https://aws-api.deno.dev/v0.4/services/xray.ts?docs=full";
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.
interface SamplingTargetDocument {
FixedRate?: number | null;
Interval?: number | null;
ReservoirQuota?: number | null;
ReservoirQuotaTTL?: Date | number | null;
RuleName?: string | null;
}§Properties
§
FixedRate?: number | null
[src]The percentage of matching requests to instrument, after the reservoir is exhausted.
§
Interval?: number | null
[src]The number of seconds for the service to wait before getting sampling targets again.