Skip to content

Commit 17dc875

Browse files
eric-luminalhaotianw465
authored andcommitted
Default sampling_req in LocalSampler to None (#89)
1 parent 461d488 commit 17dc875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_xray_sdk/core/sampling/local/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, rules=local_sampling_rule):
5050
self.load_local_rules(rules)
5151
self._random = Random()
5252

53-
def should_trace(self, sampling_req):
53+
def should_trace(self, sampling_req=None):
5454
"""
5555
Return True if the sampler decide to sample based on input
5656
information and sampling rules. It will first check if any

0 commit comments

Comments
 (0)