Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
ReservoirQuota?: number | null
[src]

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

§
ReservoirQuotaTTL?: Date | number | null
[src]

When the reservoir quota expires.

§
RuleName?: string | null
[src]

The name of the sampling rule.