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.
Methods
(inner) setLocalRules()
Set local rules in case there is a need to fallback.
(inner) shouldSample(sampleRequest)
Makes a sample decision based on the sample request.
Parameters:
Name | Type | Description |
---|---|---|
sampleRequest |
object | Contains information for rules matching. |
(inner) start()
Start the pollers to poll sampling rules and targets from X-Ray service.