Skip to main content

sampling_targets

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

Overview

Namesampling_targets
TypeResource
Idaws.xray.sampling_targets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
last_rule_modificationstring (date-time)The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.
sampling_target_documentsarrayUpdated rules that the service should use to sample requests.
unprocessed_boost_statisticsarrayInformation about SamplingBoostStatisticsDocument that X-Ray could not process.
unprocessed_statisticsarrayInformation about SamplingStatisticsDocument that X-Ray could not process.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sampling_targetsselectregionRequests a sampling quota for rules that the service is using to sample requests.

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

Requests a sampling quota for rules that the service is using to sample requests.

SELECT
last_rule_modification,
sampling_target_documents,
unprocessed_boost_statistics,
unprocessed_statistics
FROM aws.xray.sampling_targets
WHERE region = '{{ region }}' -- required
;