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

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?: {
[key: string]: string | null | undefined;
}
| null;
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?: {
[key: string]: string | null | undefined;
}
| null
[src]

Matches attributes derived from the request.

§
FixedRate?: number | null
[src]

The percentage of matching requests to instrument, after the reservoir is exhausted.

§
Host?: string | null
[src]

Matches the hostname from a request URL.

§
HTTPMethod?: string | null
[src]

Matches the HTTP method of a request.

§
Priority?: number | null
[src]

The priority of the sampling rule.

§
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.

§
ServiceType?: string | null
[src]

Matches the origin that the service uses to identify its type in segments.

§
URLPath?: string | null
[src]

Matches the path from a request URL.