XRay.Client.
get_sampling_statistic_summaries
(**kwargs)¶Retrieves information about recent sampling results for all sampling rules.
See also: AWS API Documentation
Request Syntax
response = client.get_sampling_statistic_summaries(
NextToken='string'
)
{
'SamplingStatisticSummaries': [
{
'RuleName': 'string',
'Timestamp': datetime(2015, 1, 1),
'RequestCount': 123,
'BorrowCount': 123,
'SampledCount': 123
},
],
'NextToken': 'string'
}
Response Structure
Information about the number of requests instrumented for each sampling rule.
Aggregated request sampling data for a sampling rule across all services for a 10-second window.
The name of the sampling rule.
The start time of the reporting window.
The number of requests that matched the rule.
The number of requests recorded with borrowed reservoir quota.
The number of requests recorded.
Pagination token.
Exceptions
XRay.Client.exceptions.InvalidRequestException
XRay.Client.exceptions.ThrottledException