View source: R/xray_operations.R
xray_create_sampling_rule | R Documentation |
Creates a rule to control sampling behavior for instrumented applications. Services retrieve rules with get_sampling_rules
, and evaluate each rule in ascending order of priority for each request. If a rule matches, the service records a trace, borrowing it from the reservoir size. After 10 seconds, the service reports back to X-Ray with get_sampling_targets
to get updated versions of each in-use rule. The updated rule contains a trace quota that the service can use instead of borrowing from the reservoir.
See https://www.paws-r-sdk.com/docs/xray_create_sampling_rule/ for full documentation.
xray_create_sampling_rule(SamplingRule, Tags = NULL)
SamplingRule |
[required] The rule definition. |
Tags |
A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference. The following restrictions apply to tags:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.