Skip to content

Commit

Permalink
fix: update documentation to identify correct default propagator
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahrosenblum committed Jun 18, 2020
1 parent e2984f6 commit 8afce62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opentelemetry-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ This package provides default implementations of the OpenTelemetry API for trace

OpenTelemetry provides a text-based approach to propagate context to remote services using the [W3C Trace Context](https://www.w3.org/TR/trace-context/) HTTP headers.

> This is used as a default Propagator
```js
const api = require("@opentelemetry/api");
const { HttpTraceContext } = require("@opentelemetry/core");
Expand All @@ -56,6 +54,8 @@ api.propagation.setGlobalPropagator(new B3Propagator());

Combines multiple propagators into a single propagator.

> This is used as a default Propagator
```js
const api = require("@opentelemetry/api");
const { CompositePropagator } = require("@opentelemetry/core");
Expand Down

0 comments on commit 8afce62

Please sign in to comment.