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 066279c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ All notable changes to experimental packages in this project will be documented

### :bug: (Bug Fix)

* Revert "fix(example-opencensus-shim): avoid OpenCensus auto instrumentations (#3951)" [#4072](https://github.com/open-telemetry/opentelemetry-js/pull/4072) @aabmass

### :books: (Refine Doc)

### :house: (Internal)
Expand Down
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 066279c

Please sign in to comment.