@instana/core
Advanced tools
Comparing version 2.26.1 to 2.26.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.26.2](https://github.com/instana/nodejs/compare/v2.26.1...v2.26.2) (2023-07-17) | ||
### Bug Fixes | ||
* skip init step when disabling individual instrumentations ([#824](https://github.com/instana/nodejs/issues/824)) ([8f8f661](https://github.com/instana/nodejs/commit/8f8f661c8dd416e94ce5e35f7b0eda81f0445c25)) | ||
## [2.26.1](https://github.com/instana/nodejs/compare/v2.26.0...v2.26.1) (2023-07-10) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@instana/core", | ||
"version": "2.26.1", | ||
"version": "2.26.2", | ||
"description": "Core library for Instana's Node.js packages", | ||
@@ -143,3 +143,3 @@ "main": "src/index.js", | ||
}, | ||
"gitHead": "ce1e2e72111cb7ae8c372249b4045b9ebb341e09" | ||
"gitHead": "9f134081774a882f54a6d8a26b265e35e2bbd0ca" | ||
} |
@@ -183,3 +183,7 @@ /* | ||
instrumentationModules[instrumentationKey] = require(instrumentationKey); | ||
instrumentationModules[instrumentationKey].init(_config); | ||
const instrumentationName = instrumentationKey.match(/.\/instrumentation\/[^/]*\/(.*)/)[1]; | ||
const isInstrumentationDisabled = _config.tracing.disabledTracers.includes(instrumentationName.toLowerCase()); | ||
if (!isInstrumentationDisabled) { | ||
instrumentationModules[instrumentationKey].init(_config); | ||
} | ||
@@ -186,0 +190,0 @@ if (instrumentationModules[instrumentationKey].batchable && instrumentationModules[instrumentationKey].spanName) { |
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
752359
19705