Skip to content

Commit

Permalink
Revert "fix(example-opencensus-shim): avoid OpenCensus auto instrumen…
Browse files Browse the repository at this point in the history
…tations (open-telemetry#3951)"

This reverts commit 15ede47.
  • Loading branch information
aabmass committed Aug 16, 2023
1 parent 5259a0b commit aede7d3
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 @@ -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",
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-base');
const tracing = require('@opencensus/nodejs');

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

0 comments on commit aede7d3

Please sign in to comment.