File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
propagator/opentelemetry-propagator-b3/src/opentelemetry/propagators/b3 Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments