Skip to content

Commit

Permalink
chore(otel): Update docs for using propagator (#7548)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Mar 21, 2023
1 parent 7b9198f commit 72dca3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/opentelemetry-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ const sdk = new opentelemetry.NodeSDK({

// Sentry config
spanProcessor: new SentrySpanProcessor(),
textMapPropagator: new SentryPropagator(),
});

otelApi.propagation.setGlobalPropagator(new SentryPropagator());

sdk.start();
```

Expand Down

0 comments on commit 72dca3e

Please sign in to comment.