Skip to content

Commit

Permalink
Add a directive that the Baggage API must function, even without an S…
Browse files Browse the repository at this point in the history
…DK. (#1103)

* Add a directive that the Baggage API must function, even without an SDk.

* add the changelog entry

* add a missing CR
  • Loading branch information
jkwatson authored Oct 20, 2020
1 parent 21d691d commit 12e3a4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

New:

- Enforce that the Baggage API must be fully functional, even without an installed SDK.
([#1103](https://github.com/open-telemetry/opentelemetry-specification/pull/1103))
- Rename "Canonical status code" to "Status code"
([#1081](https://github.com/open-telemetry/opentelemetry-specification/pull/1081))
- Add Metadata for Baggage entries, and clarify W3C Baggage Propagator implementation
Expand Down
4 changes: 4 additions & 0 deletions specification/baggage/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ into the context. The [Get all](#get-all) function could be implemented by retur
object as a whole from the function call. If an idiom like this is implemented, the Baggage object/struct
MUST be immutable, so that the containing Context also remains immutable.

The Baggage API MUST be fully functional in the absence of an installed SDK. This is required in
order to enable transparent cross-process Baggage propagation. If a Baggage propagator is installed
into the API, it will work with or without an installed SDK.

### Baggage

`Baggage` is used to annotate telemetry, adding context and information to metrics, traces, and logs.
Expand Down

0 comments on commit 12e3a4a

Please sign in to comment.