Skip to content

Commit 47a2504

Browse files
authored
fix: typo in sampling docs (open-telemetry#4162)
1 parent bea412c commit 47a2504

File tree

1 file changed

+3
-3
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/trace

1 file changed

+3
-3
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/trace/sampling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
6969
* always_on - Sampler that always samples spans, regardless of the parent span's sampling decision.
7070
* always_off - Sampler that never samples spans, regardless of the parent span's sampling decision.
71-
* traceidratio - Sampler that samples probabalistically based on rate.
71+
* traceidratio - Sampler that samples probabilistically based on rate.
7272
* parentbased_always_on - (default) Sampler that respects its parent span's sampling decision, but otherwise always samples.
7373
* parentbased_always_off - Sampler that respects its parent span's sampling decision, but otherwise never samples.
74-
* parentbased_traceidratio - Sampler that respects its parent span's sampling decision, but otherwise samples probabalistically based on rate.
74+
* parentbased_traceidratio - Sampler that respects its parent span's sampling decision, but otherwise samples probabilistically based on rate.
7575
7676
Sampling probability can be set with ``OTEL_TRACES_SAMPLER_ARG`` if the sampler is traceidratio or parentbased_traceidratio. Rate must be in the range [0.0,1.0]. When not provided rate will be set to
7777
1.0 (maximum rate possible).
@@ -386,7 +386,7 @@ def get_description(self):
386386
class ParentBasedTraceIdRatio(ParentBased):
387387
"""
388388
Sampler that respects its parent span's sampling decision, but otherwise
389-
samples probabalistically based on `rate`.
389+
samples probabilistically based on `rate`.
390390
"""
391391

392392
def __init__(self, rate: float):

0 commit comments

Comments
 (0)