SamplingRuleArgs

data class SamplingRuleArgs(val attributes: Output<Map<String, String>>? = null, val fixedRate: Output<Double>, val host: Output<String>, val httpMethod: Output<String>, val priority: Output<Int>, val reservoirSize: Output<Int>, val resourceArn: Output<String>, val ruleArn: Output<String>? = null, val ruleName: Output<String>? = null, val serviceName: Output<String>, val serviceType: Output<String>, val urlPath: Output<String>, val version: Output<Int>? = null) : ConvertibleToJava<SamplingRuleArgs>

Constructors

Link copied to clipboard
constructor(attributes: Output<Map<String, String>>? = null, fixedRate: Output<Double>, host: Output<String>, httpMethod: Output<String>, priority: Output<Int>, reservoirSize: Output<Int>, resourceArn: Output<String>, ruleArn: Output<String>? = null, ruleName: Output<String>? = null, serviceName: Output<String>, serviceType: Output<String>, urlPath: Output<String>, version: Output<Int>? = null)

Properties

Link copied to clipboard
val attributes: Output<Map<String, String>>? = null

Matches attributes derived from the request.

Link copied to clipboard
val fixedRate: Output<Double>

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

Link copied to clipboard
val host: Output<String>

Matches the hostname from a request URL.

Link copied to clipboard
val httpMethod: Output<String>

Matches the HTTP method from a request URL.

Link copied to clipboard
val priority: Output<Int>

The priority of the sampling rule.

Link copied to clipboard
val reservoirSize: Output<Int>

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
val resourceArn: Output<String>

Matches the ARN of the AWS resource on which the service runs.

Link copied to clipboard
val ruleArn: Output<String>? = null

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

Link copied to clipboard
val ruleName: Output<String>? = null

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

Link copied to clipboard
val serviceName: Output<String>

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

Link copied to clipboard
val serviceType: Output<String>

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

Link copied to clipboard
val urlPath: Output<String>

Matches the path from a request URL.

Link copied to clipboard
val version: Output<Int>? = null

The version of the sampling rule format (1)

Functions

Link copied to clipboard
open override fun toJava(): SamplingRuleArgs