SamplingRuleUpdate
¶
Used by
-
AsyncXRayClient Operationsupdate_sampling_rule -
XRayClient Operationsupdate_sampling_rule
Source code in docs_src/capo_xray/types/sampling_rule_update.py
attributes
instance-attribute
¶
attributes: NotRequired[AttributeMap]
Matches attributes derived from the request.
fixed_rate
instance-attribute
¶
fixed_rate: NotRequired[NullableDouble]
The percentage of matching requests to instrument, after the reservoir is exhausted.
http_method
instance-attribute
¶
http_method: NotRequired[HTTPMethod]
Matches the HTTP method of a request.
priority
instance-attribute
¶
priority: NotRequired[NullableInteger]
The priority of the sampling rule.
reservoir_size
instance-attribute
¶
reservoir_size: NotRequired[NullableInteger]
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.
resource_arn
instance-attribute
¶
resource_arn: NotRequired[ResourceARN]
Matches the ARN of the Amazon Web Services resource on which the service runs.
rule_arn
instance-attribute
¶
rule_arn: NotRequired[String]
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
rule_name
instance-attribute
¶
rule_name: NotRequired[RuleName]
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
sampling_rate_boost
instance-attribute
¶
sampling_rate_boost: NotRequired[SamplingRateBoost]
Specifies the multiplier applied to the base sampling rate. This boost allows you to temporarily increase sampling without changing the rule's configuration.
service_name
instance-attribute
¶
service_name: NotRequired[ServiceName]
Matches the name that the service uses to identify itself in segments.
service_type
instance-attribute
¶
service_type: NotRequired[ServiceType]
Matches the origin that the service uses to identify its type in segments.