Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: addressing review comments
  • Loading branch information
obecny committed Apr 8, 2021
commit a178b88a8f1f157412d1b6ce5bd45c8d9569282f
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,6 @@ To request automatic tracing support for a module not on this list, please [file

- All plugins have been removed in favor of instrumentations.

```javascript

```

### 0.18.0 to 0.19.0

- 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.
Expand Down
7 changes: 5 additions & 2 deletions packages/opentelemetry-instrumentation-fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ npm install --save @opentelemetry/instrumentation-fetch

```js
'use strict';
const { registerInstrumentations } = require('@opentelemetry/instrumentation');
const { WebTracerProvider } = require('@opentelemetry/web');
import { ConsoleSpanExporter, SimpleSpanProcessor } from '@opentelemetry/tracing';
import { WebTracerProvider } from '@opentelemetry/web';
import { FetchInstrumentation } from '@opentelemetry/instrumentation-fetch';
import { ZoneContextManager } from '@opentelemetry/context-zone';
import { registerInstrumentations } from '@opentelemetry/instrumentation';

const provider = new WebTracerProvider();

Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ const http = require('http');

In the following example:

- the express plugin is enabled
- the http plugin has a custom config for a `requestHook`
- the express instrumentation is enabled
- the http instrumentation has a custom config for a `requestHook`

```javascript
const { HttpInstrumentation } = require('@opentelemetry/instrumentation-http');
Expand Down