SamplingRule

A sampling rule that services use to decide whether to instrument a request. Rule fields can match properties of the service, or properties of a request. The service can ignore rules that don't match its properties.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Matches attributes derived from the request.

Link copied to clipboard

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

Link copied to clipboard

Matches the hostname from a request URL.

Link copied to clipboard

Matches the HTTP method of a request.

Link copied to clipboard

The priority of the sampling rule.

Link copied to clipboard

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.

Link copied to clipboard

Matches the ARN of the Amazon Web Services resource on which the service runs.

Link copied to clipboard

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Link copied to clipboard

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

Link copied to clipboard

Matches the name that the service uses to identify itself in segments.

Link copied to clipboard

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

Link copied to clipboard

Matches the path from a request URL.

Link copied to clipboard

The version of the sampling rule format (1).

Functions

Link copied to clipboard
inline fun copy(block: SamplingRule.Builder.() -> Unit = {}): SamplingRule
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String