fix(example-opencensus-shim): avoid OpenCensus auto instrumentations (#3951)
* fix(example-opencensus-shim): avoid opencensus instrumentations being auto imported * chore: changelog --------- Co-authored-by: Haddas Bronfman <85441461+haddasbronfman@users.noreply.github.com>
This commit is contained in:
parent
4dc8416f9e
commit
15ede4700b
|
@ -17,6 +17,7 @@ All notable changes to experimental packages in this project will be documented
|
|||
|
||||
* fix(exporter-logs-otlp-http): set useHex to true [#3875](https://github.com/open-telemetry/opentelemetry-js/pull/3875) @Nico385412
|
||||
fix(otlp-proto-exporter-base): add missing type import [#3937](https://github.com/open-telemetry/opentelemetry-js/pull/3937) @pichlermarc
|
||||
* fix(example-opencensus-shim): avoid OpenCensus auto instrumentations [#3951](https://github.com/open-telemetry/opentelemetry-js/pull/3951) @llc1123
|
||||
|
||||
### :books: (Refine Doc)
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue