You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::XRay::Types::SamplingStatisticsDocument
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::SamplingStatisticsDocument
- Defined in:
- (unknown)
Overview
When passing SamplingStatisticsDocument as input to an Aws::Client method, you can use a vanilla Hash:
{
rule_name: "RuleName", # required
client_id: "ClientID", # required
timestamp: Time.now, # required
request_count: 1, # required
sampled_count: 1, # required
borrow_count: 1,
}
Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
Instance Attribute Summary collapse
-
#borrow_count ⇒ Integer
The number of requests recorded with borrowed reservoir quota.
-
#client_id ⇒ String
A unique identifier for the service in hexadecimal.
-
#request_count ⇒ Integer
The number of requests that matched the rule.
-
#rule_name ⇒ String
The name of the sampling rule.
-
#sampled_count ⇒ Integer
The number of requests recorded.
-
#timestamp ⇒ Time
The current time.
Instance Attribute Details
#borrow_count ⇒ Integer
The number of requests recorded with borrowed reservoir quota.
#client_id ⇒ String
A unique identifier for the service in hexadecimal.
#request_count ⇒ Integer
The number of requests that matched the rule.
#rule_name ⇒ String
The name of the sampling rule.
#sampled_count ⇒ Integer
The number of requests recorded.
#timestamp ⇒ Time
The current time.