We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beeb445 commit 0199e15Copy full SHA for 0199e15
aws_xray_sdk/core/sampling/sampler.py
@@ -43,7 +43,7 @@ def start(self):
43
self._target_poller.start()
44
self._started = True
45
46
- def should_trace(self, sampling_req):
+ def should_trace(self, sampling_req=None):
47
"""
48
Return the matched sampling rule name if the sampler finds one
49
and decide to sample. If no sampling rule matched, it falls back
0 commit comments