class Aws::XRay::Types::SamplingStatisticsDocument
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].
[1]: docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html
@note When making an API call, you may pass SamplingStatisticsDocument
data as a hash: { rule_name: "RuleName", # required client_id: "ClientID", # required timestamp: Time.now, # required request_count: 1, # required sampled_count: 1, # required borrow_count: 1, }
@!attribute [rw] rule_name
The name of the sampling rule. @return [String]
@!attribute [rw] client_id
A unique identifier for the service in hexadecimal. @return [String]
@!attribute [rw] timestamp
The current time. @return [Time]
@!attribute [rw] request_count
The number of requests that matched the rule. @return [Integer]
@!attribute [rw] sampled_count
The number of requests recorded. @return [Integer]
@!attribute [rw] borrow_count
The number of requests recorded with borrowed reservoir quota. @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingStatisticsDocument AWS API Documentation
Constants
- SENSITIVE