Skip to content

Commit b470d85

Browse files
committed
Updated B3MultiFormat constructor docstring.
1 parent d6c7d73 commit b470d85

File tree

1 file changed

+6
-7
lines changed
  • propagator/opentelemetry-propagator-b3/src/opentelemetry/propagators/b3

1 file changed

+6
-7
lines changed

propagator/opentelemetry-propagator-b3/src/opentelemetry/propagators/b3/__init__.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,15 @@ def __init__(
108108
sampling_arbiter: typing.Optional[PropagatorSamplingArbiterInterface] = None):
109109
"""
110110
NOTE: The B3 spec calls for "defer the decision to the receiver" whenever
111-
explicit sampling information is absent from the carrier; this concept
112-
does not translate to SpanContext, so we will invoke the Propagator
113-
Sampling Arbiter as tie-breaker whenever sampling information is absent
114-
from the carrier. (https://github.com/openzipkin/b3-propagation)
111+
explicit sampling information is absent from the carrier; in this scenario
112+
we will invoke the given Propagator Sampling Arbiter to make the sampling
113+
decision. (https://github.com/openzipkin/b3-propagation)
115114
116115
:param sampling_arbiter: A user-supplied arbiter instance to decide the sampled state
117116
for our `extract()` method whenever sampling information is absent from carrier.
118-
If None, will fall back to the legacy behavior for backward compatibility: defaults
119-
decision to enabled for single-header and to disabled for multi-header (in the
120-
event explicit sampling information is absent from the carrier)
117+
If None, falls back to the legacy behavior for backward compatibility: defaults
118+
decision to Accept for single-header and to Deny for multi-header (in the
119+
event explicit sampling information is absent from the carrier).
121120
"""
122121
super().__init__()
123122
if sampling_arbiter is not None:

0 commit comments

Comments
 (0)