Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
doc: update trace sdk name in README (#136)
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
  • Loading branch information
legendecas and vmarchaud committed Nov 30, 2021
1 parent 42157b5 commit e4aa21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 e4aa21b

Please sign in to comment.