@opentelemetry/node
Advanced tools
Comparing version 0.19.0 to 0.19.1-alpha.7
{ | ||
"name": "@opentelemetry/node", | ||
"version": "0.19.0", | ||
"version": "0.19.1-alpha.7+c4341c39", | ||
"description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications", | ||
@@ -45,5 +45,5 @@ "main": "build/src/index.js", | ||
"@opentelemetry/api": "^1.0.0-rc.0", | ||
"@opentelemetry/resources": "0.19.0", | ||
"@opentelemetry/resources": "^0.19.1-alpha.7+c4341c39", | ||
"@types/mocha": "8.2.2", | ||
"@types/node": "14.14.37", | ||
"@types/node": "14.14.41", | ||
"@types/semver": "7.3.4", | ||
@@ -67,10 +67,10 @@ "@types/shimmer": "1.0.1", | ||
"dependencies": { | ||
"@opentelemetry/context-async-hooks": "0.19.0", | ||
"@opentelemetry/core": "0.19.0", | ||
"@opentelemetry/propagator-b3": "0.19.0", | ||
"@opentelemetry/propagator-jaeger": "0.19.0", | ||
"@opentelemetry/tracing": "0.19.0", | ||
"@opentelemetry/context-async-hooks": "^0.19.0", | ||
"@opentelemetry/core": "^0.19.1-alpha.7+c4341c39", | ||
"@opentelemetry/propagator-b3": "^0.19.0", | ||
"@opentelemetry/propagator-jaeger": "^0.19.1-alpha.7+c4341c39", | ||
"@opentelemetry/tracing": "^0.19.1-alpha.7+c4341c39", | ||
"semver": "^7.1.3" | ||
}, | ||
"gitHead": "0c15999dccd377294a03cf7d36085216d6e8c5c1" | ||
"gitHead": "c4341c39dfcdaaa65a5d6ad8eb745b656d865177" | ||
} |
@@ -67,3 +67,2 @@ # OpenTelemetry Node SDK | ||
registerInstrumentations({ | ||
tracerProvider: provider, | ||
}); | ||
@@ -84,2 +83,3 @@ | ||
```javascript | ||
const { registerInstrumentations } = require('@opentelemetry/instrumentation'); | ||
const { HttpInstrumentation } = require('@opentelemetry/instrumentation-http'); | ||
@@ -89,2 +89,3 @@ const { ExpressInstrumentation } = require('@opentelemetry/instrumentation-express'); | ||
const provider = new NodeTracerProvider(); | ||
provider.register(); | ||
@@ -94,3 +95,2 @@ // register and load instrumentation and old plugins - old plugins will be loaded automatically as previously | ||
registerInstrumentations({ | ||
tracerProvider: provider, | ||
instrumentations: [ | ||
@@ -97,0 +97,0 @@ new ExpressInstrumentation(), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26884
1
+ Added@opentelemetry/api@0.20.0(transitive)
+ Added@opentelemetry/core@0.19.1-alpha.43(transitive)
+ Added@opentelemetry/propagator-jaeger@0.19.1-alpha.43(transitive)
+ Added@opentelemetry/semantic-conventions@0.19.1-alpha.43(transitive)
+ Added@opentelemetry/tracing@0.19.1-alpha.44(transitive)
- Removed@opentelemetry/propagator-jaeger@0.19.0(transitive)
- Removed@opentelemetry/tracing@0.19.0(transitive)
Updated@opentelemetry/propagator-jaeger@^0.19.1-alpha.7+c4341c39