From aede7d39dd0ba50ee17741932009c9d64e4b5f55 Mon Sep 17 00:00:00 2001 From: Aaron Abbott Date: Wed, 16 Aug 2023 20:02:18 +0000 Subject: [PATCH] Revert "fix(example-opencensus-shim): avoid OpenCensus auto instrumentations (#3951)" This reverts commit 15ede4700b6049c44f30e511a7e8a643519ad254. --- experimental/examples/opencensus-shim/package.json | 2 +- experimental/examples/opencensus-shim/setup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/experimental/examples/opencensus-shim/package.json b/experimental/examples/opencensus-shim/package.json index d3c2726c36d..4356cb718e2 100644 --- a/experimental/examples/opencensus-shim/package.json +++ b/experimental/examples/opencensus-shim/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@opencensus/core": "0.1.0", - "@opencensus/nodejs-base": "0.1.0", + "@opencensus/nodejs": "0.1.0", "@opentelemetry/api": "1.4.1", "@opentelemetry/exporter-trace-otlp-grpc": "0.41.2", "@opentelemetry/resources": "1.15.2", diff --git a/experimental/examples/opencensus-shim/setup.js b/experimental/examples/opencensus-shim/setup.js index 37206971e7c..e96c62ae0cc 100644 --- a/experimental/examples/opencensus-shim/setup.js +++ b/experimental/examples/opencensus-shim/setup.js @@ -29,7 +29,7 @@ const { } = require('@opentelemetry/semantic-conventions'); module.exports = function setup(serviceName) { - const tracing = require('@opencensus/nodejs-base'); + const tracing = require('@opencensus/nodejs'); diag.setLogger(new DiagConsoleLogger(), { logLevel: DiagLogLevel.ALL }); const provider = new NodeTracerProvider({