Skip to content

Commit

Permalink
Update opentelemetry-api/src/opentelemetry/trace/sampling.py
Browse files Browse the repository at this point in the history
Co-authored-by: Leighton Chen <lechen@microsoft.com>
  • Loading branch information
cnnradams and lzchen authored Jul 7, 2020
1 parent c096fc6 commit 716407f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/trace/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class ProbabilitySampler(Sampler):
while also respecting the parent span sampling decision.
Args:
rate: Probability (between 0 and 1) that a span will be sampled
rate: Probability (between 0 and 1 inclusive) that a span will be sampled
"""

def __init__(self, rate: float):
Expand Down

0 comments on commit 716407f

Please sign in to comment.