SamplingRuleUpdate
import type { SamplingRuleUpdate } from "https://aws-api.deno.dev/v0.4/services/xray.ts?docs=full";
A document specifying changes to a sampling rule's configuration.
interface SamplingRuleUpdate {
Attributes?: {} | null;
[key: string]: string | null | undefined;
FixedRate?: number | null;
Host?: string | null;
HTTPMethod?: string | null;
Priority?: number | null;
ReservoirSize?: number | null;
ResourceARN?: string | null;
RuleARN?: string | null;
RuleName?: string | null;
ServiceName?: string | null;
ServiceType?: string | null;
URLPath?: string | null;
}§Properties
§
Attributes?: {} | null
[src][key: string]: string | null | undefined;
Matches attributes derived from the request.
§
FixedRate?: number | null
[src]The percentage of matching requests to instrument, after the reservoir is exhausted.
§
ReservoirSize?: number | null
[src]A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
§
ResourceARN?: string | null
[src]Matches the ARN of the Amazon Web Services resource on which the service runs.
§
RuleARN?: string | null
[src]The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
§
RuleName?: string | null
[src]The name of the sampling rule. Specify a rule by either name or ARN, but not both.
§
ServiceName?: string | null
[src]Matches the name
that the service uses to identify itself in segments.