Skip to content

Commit 0199e15

Browse files
mjtiemanhaotianw465
authored andcommitted
Default sampling_req in sampler to None (#82)
1 parent beeb445 commit 0199e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_xray_sdk/core/sampling/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def start(self):
4343
self._target_poller.start()
4444
self._started = True
4545

46-
def should_trace(self, sampling_req):
46+
def should_trace(self, sampling_req=None):
4747
"""
4848
Return the matched sampling rule name if the sampler finds one
4949
and decide to sample. If no sampling rule matched, it falls back

0 commit comments

Comments
 (0)