You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry-sdk/src/opentelemetry/sdk/trace/sampling.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,10 +68,10 @@
68
68
69
69
* always_on - Sampler that always samples spans, regardless of the parent span's sampling decision.
70
70
* 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.
72
72
* parentbased_always_on - (default) Sampler that respects its parent span's sampling decision, but otherwise always samples.
73
73
* 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.
75
75
76
76
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
77
77
1.0 (maximum rate possible).
@@ -386,7 +386,7 @@ def get_description(self):
386
386
classParentBasedTraceIdRatio(ParentBased):
387
387
"""
388
388
Sampler that respects its parent span's sampling decision, but otherwise
0 commit comments