Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify the initial propagators requirements. #735

12 changes: 12 additions & 0 deletions specification/context/api-propagators.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Table of Contents
- [Get](#get)
- [Composite Propagator](#composite-propagator)
- [Global Propagators](#global-propagators)
- [Propagators Distribution](#propagators-distribution)

</details>

Expand Down Expand Up @@ -266,3 +267,14 @@ Sets the global `Propagator` instance.
Required parameters:

- A `Propagator`. This usually will be a composite instance.

## Propagators Distribution

`Propagator`s implementing officially supported protocols such as
[B3 Propagation Specification](https://github.com/openzipkin/b3-propagation)
MUST be maintained by the OpenTelemetry organization and MUST be distributed as
OpenTelemetry extension packages.

Additional `Propagator`s implementing vendor-specific protocols such as
AWS X-Ray trace header protocol are encouraged to be maintained and distributed by
their respective vendors.
1 change: 1 addition & 0 deletions specification/correlationcontext/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,4 @@ otcorrelations: user=foo%40example.com,name=Example%20Name

If a new name/value pair is added and its name is the same as an existing name, than the new pair MUST take precedence. The value
is replaced with the added value (regardless if it is locally generated or received from a remote peer).

7 changes: 7 additions & 0 deletions specification/trace/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Table of Contents
* [GetIsOk](#getisok)
* [SpanKind](#spankind)
* [Concurrency](#concurrency)
* [Included Propagators](#included-propagators)

</details>

Expand Down Expand Up @@ -687,3 +688,9 @@ implementer of these events.
**Link** - Links are immutable and is safe to be used concurrently. Lazy
initialized links must be thread safe. This is the responsibility of the
implementer of these links.

## Included Propagators

The API layer MAY include the following `Propagator`s:

* A `HTTPTextPropagator` implementing the [W3C TraceContext Specification](https://www.w3.org/TR/trace-context/).
Oberon00 marked this conversation as resolved.
Show resolved Hide resolved