From e4aa21b93a909415ff10b066a8cc3b2380dcce75 Mon Sep 17 00:00:00 2001 From: legendecas Date: Tue, 30 Nov 2021 17:01:25 +0800 Subject: [PATCH] doc: update trace sdk name in README (#136) Co-authored-by: Valentin Marchaud --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d1c4ae..88620da 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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();