aws_xray_sdk.core.sampling.rule_poller

Module Contents

log
DEFAULT_INTERVAL
class RulePoller(cache, connector)

Bases:object

start(self)
_worker(self)
wake_up(self)

Force the rule poller to pull the sampling rules from the service regardless of the polling interval. This method is intended to be used by TargetPoller only.

_refresh_cache(self)
_reset_time_to_wait(self)

A random jitter of up to 5 seconds is injected after each run to ensure the calls eventually get evenly distributed over the 5 minute window.