@opentelemetry/instrumentation-generic-pool
Advanced tools
Comparing version 0.38.0 to 0.38.1
@@ -74,3 +74,3 @@ "use strict"; | ||
const parent = api.context.active(); | ||
const span = instrumentation.tracer.startSpan('generic-pool.aquire', {}, parent); | ||
const span = instrumentation.tracer.startSpan('generic-pool.acquire', {}, parent); | ||
return api.context.with(api.trace.setSpan(parent, span), () => { | ||
@@ -104,3 +104,3 @@ return original.call(this, ...args).then(value => { | ||
const parent = api.context.active(); | ||
const span = instrumentation.tracer.startSpan('generic-pool.aquire', {}, parent); | ||
const span = instrumentation.tracer.startSpan('generic-pool.acquire', {}, parent); | ||
return api.context.with(api.trace.setSpan(parent, span), () => { | ||
@@ -107,0 +107,0 @@ original.call(this, (err, client) => { |
@@ -1,3 +0,3 @@ | ||
export declare const PACKAGE_VERSION = "0.38.0"; | ||
export declare const PACKAGE_VERSION = "0.38.1"; | ||
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-generic-pool"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,4 +20,4 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.PACKAGE_VERSION = '0.38.0'; | ||
exports.PACKAGE_VERSION = '0.38.1'; | ||
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-generic-pool'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-generic-pool", | ||
"version": "0.38.0", | ||
"version": "0.38.1", | ||
"description": "OpenTelemetry instrumentation for `generic-pool` resource pool for managing expensive resources", | ||
@@ -53,8 +53,8 @@ "main": "build/src/index.js", | ||
"@types/node": "18.6.5", | ||
"@types/semver": "7.5.3", | ||
"@types/semver": "7.5.8", | ||
"generic-pool": "3.8.2", | ||
"mocha": "7.2.0", | ||
"nyc": "15.1.0", | ||
"rimraf": "5.0.5", | ||
"semver": "7.5.4", | ||
"rimraf": "5.0.10", | ||
"semver": "7.6.3", | ||
"ts-mocha": "10.0.0", | ||
@@ -67,3 +67,3 @@ "typescript": "4.4.4" | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-generic-pool#readme", | ||
"gitHead": "ad8436d6a4174f2288cb939080cd4e74da94b0d7" | ||
"gitHead": "19454560b49b669c8f9c0cca9fcc3308b415f2b1" | ||
} |
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
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
35421