Sampling Rule
data class SamplingRule(val attributes: Map<String, String>? = null, val fixedRate: Double, val host: String, val httpMethod: String, val priority: Int, val reservoirSize: Int, val resourceArn: String, val ruleArn: String? = null, val ruleName: String? = null, val serviceName: String, val serviceType: String, val urlPath: String, val version: Int? = null)
Properties
Link copied to clipboard
Matches attributes derived from the request.
Link copied to clipboard
Matches the HTTP method from a request URL.
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 AWS resource on which the service runs.
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.