Skip to content

Commit

Permalink
doc: update trace sdk name in README (open-telemetry#136)
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Marchaud <[email protected]>
  • Loading branch information
legendecas and vmarchaud authored Nov 30, 2021
1 parent 4e1d2b2 commit fa2124c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The methods in this package perform no operations by default. This means they ca
### Install Dependencies

```sh
npm install @opentelemetry/api @opentelemetry/tracing
npm install @opentelemetry/api @opentelemetry/sdk-trace-base
```

### Trace Your Application
Expand All @@ -65,7 +65,7 @@ Once you have registered an SDK, you can start and end spans. A simple example o

```javascript
const { trace } = require("@opentelemetry/api");
const { BasicTracerProvider, ConsoleSpanExporter, SimpleSpanProcessor } = require("@opentelemetry/tracing");
const { BasicTracerProvider, ConsoleSpanExporter, SimpleSpanProcessor } = require("@opentelemetry/sdk-trace-base");

// Create and register an SDK
const provider = new BasicTracerProvider();
Expand Down

0 comments on commit fa2124c

Please sign in to comment.