Skip to content

Commit

Permalink
Update SDK spec to the latest W3C Baggage spec version (open-telemetr…
Browse files Browse the repository at this point in the history
…y#2670)

* Update SDK spec to the latest W3C Baggage spec version

* Add changelog entry for open-telemetry#2670

* Fix location of open-telemetry#2670 in the changelog

Co-authored-by: Yuri Shkuro <[email protected]>
  • Loading branch information
lgfa29 and yurishkuro authored Aug 8, 2022
1 parent 5d37795 commit d8c4103
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ release.

### Resource

- Update the version of the W3C Baggage specification used for `OTEL_RESOURCE_ATTRIBUTES`.
([#2670](https://github.com/open-telemetry/opentelemetry-specification/pull/2670))

### Semantic Conventions

- Add `net.app.protocol.*` attributes
Expand Down
7 changes: 4 additions & 3 deletions specification/resource/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ has higher priority.

The `OTEL_RESOURCE_ATTRIBUTES` environment variable will contain of a list of
key value pairs, and these are expected to be represented in a format matching
to the [W3C Baggage](https://github.com/w3c/baggage/blob/fdc7a5c4f4a31ba2a36717541055e551c2b032e4/baggage/HTTP_HEADER_FORMAT.md#header-content),
except that additional semi-colon delimited metadata is not supported, i.e.:
`key1=value1,key2=value2`. All attribute values MUST be considered strings.
to the [W3C Baggage](https://w3c.github.io/baggage), except that additional
semi-colon delimited metadata is not supported, i.e.: `key1=value1,key2=value2`.
All attribute values MUST be considered strings and characters outside the
`baggage-octet` range MUST be percent-encoded.

## Resource operations

Expand Down

0 comments on commit d8c4103

Please sign in to comment.