Skip to content

Commit

Permalink
fix(example-opencensus-shim): avoid opencensus instrumentations being…
Browse files Browse the repository at this point in the history
… auto imported
  • Loading branch information
llc1123 committed Jun 26, 2023
1 parent 655e373 commit 804cfd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion experimental/examples/opencensus-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@opentelemetry/api": "1.4.1",
"@opentelemetry/sdk-trace-node": "1.14.0",
"@opencensus/core": "0.1.0",
"@opencensus/nodejs": "0.1.0",
"@opencensus/nodejs-base": "0.1.0",
"@opentelemetry/semantic-conventions": "1.14.0",
"@opentelemetry/exporter-trace-otlp-grpc": "0.40.0",
"@opentelemetry/resources": "1.14.0",
Expand Down
2 changes: 1 addition & 1 deletion experimental/examples/opencensus-shim/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const {
} = require('@opentelemetry/semantic-conventions');

module.exports = function setup(serviceName) {
const tracing = require('@opencensus/nodejs');
const tracing = require('@opencensus/nodejs-base');

diag.setLogger(new DiagConsoleLogger(), { logLevel: DiagLogLevel.ALL });
const provider = new NodeTracerProvider({
Expand Down

0 comments on commit 804cfd5

Please sign in to comment.