@opentelemetry/node
Advanced tools
Comparing version 0.11.1-alpha.48 to 0.11.1-alpha.53
@@ -34,3 +34,4 @@ "use strict"; | ||
koa: { enabled: true, path: '@opentelemetry/koa-instrumentation' }, | ||
dns: { enabled: true, path: '@opentelemetry/plugin-dns' }, | ||
}; | ||
//# sourceMappingURL=config.js.map |
@@ -144,3 +144,3 @@ "use strict"; | ||
if (!utils.isSupportedVersion(version, plugin.supportedVersions)) { | ||
this.logger.error(`PluginLoader#load: Plugin ${name} only supports module ${plugin.moduleName} with the versions: ${plugin.supportedVersions}`); | ||
this.logger.warn(`PluginLoader#load: Plugin ${name} only supports module ${plugin.moduleName} with the versions: ${plugin.supportedVersions}`); | ||
return exports; | ||
@@ -147,0 +147,0 @@ } |
@@ -23,2 +23,3 @@ "use strict"; | ||
const PluginLoader_1 = require("./instrumentation/PluginLoader"); | ||
const semver = require("semver"); | ||
/** | ||
@@ -47,3 +48,6 @@ * Register this TracerProvider for use with the OpenTelemetry API. | ||
if (config.contextManager === undefined) { | ||
config.contextManager = new context_async_hooks_1.AsyncHooksContextManager(); | ||
const ContextManager = semver.gte(process.version, '14.8.0') | ||
? context_async_hooks_1.AsyncLocalStorageContextManager | ||
: context_async_hooks_1.AsyncHooksContextManager; | ||
config.contextManager = new ContextManager(); | ||
config.contextManager.enable(); | ||
@@ -50,0 +54,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.11.1-alpha.48+15174c6"; | ||
export declare const VERSION = "0.11.1-alpha.53+00a8ce7f"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.11.1-alpha.48+15174c6'; | ||
exports.VERSION = '0.11.1-alpha.53+00a8ce7f'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/node", | ||
"version": "0.11.1-alpha.48+15174c6", | ||
"version": "0.11.1-alpha.53+00a8ce7f", | ||
"description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications", | ||
@@ -18,3 +18,4 @@ "main": "build/src/index.js", | ||
"compile": "npm run version:update && tsc -p .", | ||
"prepare": "npm run compile" | ||
"prepare": "npm run compile", | ||
"watch": "tsc -w" | ||
}, | ||
@@ -46,4 +47,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@opentelemetry/context-base": "^0.11.1-alpha.48+15174c6", | ||
"@opentelemetry/resources": "^0.11.1-alpha.48+15174c6", | ||
"@opentelemetry/context-base": "^0.11.0", | ||
"@opentelemetry/resources": "^0.11.1-alpha.53+00a8ce7f", | ||
"@types/mocha": "8.0.2", | ||
@@ -60,14 +61,14 @@ "@types/node": "14.0.27", | ||
"ts-mocha": "7.0.0", | ||
"ts-node": "8.10.2", | ||
"ts-node": "9.0.0", | ||
"typescript": "3.9.7" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.11.1-alpha.48+15174c6", | ||
"@opentelemetry/context-async-hooks": "^0.11.1-alpha.48+15174c6", | ||
"@opentelemetry/core": "^0.11.1-alpha.48+15174c6", | ||
"@opentelemetry/tracing": "^0.11.1-alpha.48+15174c6", | ||
"@opentelemetry/api": "^0.11.1-alpha.53+00a8ce7f", | ||
"@opentelemetry/context-async-hooks": "^0.11.0", | ||
"@opentelemetry/core": "^0.11.1-alpha.53+00a8ce7f", | ||
"@opentelemetry/tracing": "^0.11.1-alpha.53+00a8ce7f", | ||
"require-in-the-middle": "^5.0.0", | ||
"semver": "^7.1.3" | ||
}, | ||
"gitHead": "15174c6647ab9863dfc1424412fa60f2fddb3351" | ||
"gitHead": "00a8ce7f982ea24bcd4bc398477112894078ab29" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
50799
513
+ Added@opentelemetry/context-async-hooks@0.11.0(transitive)
- Removed@opentelemetry/context-async-hooks@0.11.1-alpha.48(transitive)
- Removed@opentelemetry/context-base@0.11.1-alpha.48(transitive)