Skip to content

Commit

Permalink
fix: Jaeger propagator example of usage" (#937)
Browse files Browse the repository at this point in the history
* fix: Jaeger propagator example of usage

* fix: Jaeger propagator example of usage
  • Loading branch information
shivkanya9146 authored Apr 7, 2020
1 parent de0e26e commit 41509f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/opentelemetry-propagator-jaeger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ Example of usage:
const { NodeTracerProvider } = require('@opentelemetry/node');
const { JaegerHttpTracePropagator } = require('@opentelemetry/propagator-jaeger');

const provider = new NodeTracerProvider({
HttpTextPropagator: new JaegerHttpTracePropagator()
const provider = new NodeTracerProvider();
provider.register({
// Use Jaeger propagator
propagator: new JaegerHttpTracePropagator()
});
```

Expand Down

0 comments on commit 41509f0

Please sign in to comment.