Skip to content

Commit

Permalink
Default sampling_req in sampler to None (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjtieman authored and haotianw465 committed Aug 29, 2018
1 parent beeb445 commit 0199e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws_xray_sdk/core/sampling/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0199e15

Please sign in to comment.