Skip to main content

sampling_statistic_summaries

Creates, updates, deletes, gets or lists a sampling_statistic_summaries resource.

Overview

Namesampling_statistic_summaries
TypeResource
Idaws.xray.sampling_statistic_summaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
borrow_countintegerThe number of requests recorded with borrowed reservoir quota.
request_countintegerThe number of requests that matched the rule.
rule_namestringThe name of the sampling rule.
sampled_countintegerThe number of requests recorded.
timestampstring (date-time)The start time of the reporting window.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sampling_statistic_summariesselectregionRetrieves information about recent sampling results for all sampling rules.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves information about recent sampling results for all sampling rules.

SELECT
borrow_count,
request_count,
rule_name,
sampled_count,
timestamp
FROM aws.xray.sampling_statistic_summaries
WHERE region = '{{ region }}' -- required
;