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: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -247,6 +247,10 @@ To request automatic tracing support for a module not on this list, please [file
247
247
248
248
## Upgrade guidelines
249
249
250
+
### 0.18.0 to 0.19.0
251
+
252
+
- The `@opentelemetry/propagator-b3` package previously exported three propagators: `B3Propagator`,`B3SinglePropagator`, and `B3MultiPropagator`, but now only exports the `B3Propagator`. It extracts b3 context in single and multi-header encodings, and injects context using the single-header encoding by default, but can be configured to inject context using the multi-header endcoding during construction: `new B3Propagator({ injectEncoding: B3InjectEncoding.MULTI_HEADER })`. If you were previously using the `B3SinglePropagator` or `B3MultiPropagator` directly, you should update your code to use the `B3Propagator` with the appropriate configuration. See the [readme](./packages/opentelemetry-propagator-b3/readme.md) for full details and usage.
253
+
250
254
### 0.17.0 to 0.18.0
251
255
252
256
-`diag.setLogLevel` is removed and LogLevel can be set by an optional second parameter to `setLogger`
Copy file name to clipboardExpand all lines: packages/opentelemetry-propagator-b3/README.md
+14-48
Original file line number
Diff line number
Diff line change
@@ -65,17 +65,15 @@ X-B3-Sampled: {SamplingState}
65
65
- Optional
66
66
- Debug is encoded as `X-B3-Flags`: 1. Absent or any other value can be ignored. Debug implies an accept decision, so don't also send the `X-B3-Sampled` header.
67
67
68
-
## Propagator Implementations
69
-
70
-
### B3Propagator
68
+
## B3 Propagation
71
69
72
70
The default `B3Propagator` implements b3 propagation according to the
73
71
[OpenTelemetry specification][otel-b3-requirements]. It extracts b3 context
74
72
from multi and single header encodings and injects context using the
75
-
single-header b3 encoding. The inject encoding can be changed to multi-header
76
-
via configuration.
73
+
single-header b3 encoding by default. The inject encoding can be changed to
74
+
multi-header via configuration. See the examples below.
0 commit comments