Skip to content

Commit

Permalink
Fix path (#921)
Browse files Browse the repository at this point in the history
* Updating out of date nyc packages

* Fix Require Path in README

Co-authored-by: Mayur Kale <mayurkale@google.com>
  • Loading branch information
shivkanya9146 and mayurkale22 committed Apr 1, 2020
1 parent 0d1c82c commit 802882d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opentelemetry-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ npm install --save @opentelemetry/plugin-https
The following code will configure the `NodeTracerProvider` to instrument `http` using `@opentelemetry/plugin-http`.

```js
const { NodeTracerProvider } = require('@/node');
const { NodeTracerProvider } = require('@opentelemetry/node');

// Create and configure NodeTracerProvider
const provider = new NodeTracerProvider({
plugins: {
http: {
enabled: true,
// You may use a package name or absolute path to the file.
path: '@/plugin-http',
path: '@opentelemetry/plugin-http',
// http plugin options
}
}
Expand Down

0 comments on commit 802882d

Please sign in to comment.