From 0199e1529963f00c7ced4d2bc4cd305c8b0261cb Mon Sep 17 00:00:00 2001 From: mjtieman Date: Wed, 29 Aug 2018 12:43:24 -0600 Subject: [PATCH] Default sampling_req in sampler to None (#82) --- aws_xray_sdk/core/sampling/sampler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws_xray_sdk/core/sampling/sampler.py b/aws_xray_sdk/core/sampling/sampler.py index 61b05cfe..8715e061 100644 --- a/aws_xray_sdk/core/sampling/sampler.py +++ b/aws_xray_sdk/core/sampling/sampler.py @@ -43,7 +43,7 @@ def start(self): self._target_poller.start() self._started = True - def should_trace(self, sampling_req): + def should_trace(self, sampling_req=None): """ Return the matched sampling rule name if the sampler finds one and decide to sample. If no sampling rule matched, it falls back