Module: DefaultSampler

The default sampler used to make sampling decisions when the decisions are absent in the incoming requests. The sampler use pollers to poll sampling rules from X-Ray service.
Source:

Methods

(inner) setLocalRules()

Set local rules in case there is a need to fallback.
Source:

(inner) shouldSample(sampleRequest)

Makes a sample decision based on the sample request.
Parameters:
Name Type Description
sampleRequest object Contains information for rules matching.
Source:

(inner) start()

Start the pollers to poll sampling rules and targets from X-Ray service.
Source: