SamplingRule
class 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
Properties
Link copied to clipboard
Matches attributes derived from the request.
Link copied to clipboard
Matches the HTTP method of a request.
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
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.