We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3acfba commit 23636c2Copy full SHA for 23636c2
2 files changed
packages/collector/src/index.js
@@ -33,6 +33,7 @@ if (isNodeJsTooOld()) {
33
// @ts-ignore TS1108 (return can only be used within a function body)
34
return;
35
}
36
+
37
let isMainThread = true;
38
try {
39
isMainThread = require('worker_threads').isMainThread;
packages/core/src/util/excludedFromInstrumentation.js
@@ -71,7 +71,6 @@ module.exports = exports = function isExcludedFromInstrumentation() {
71
// eslint-disable-next-line no-console
72
console.log(
73
`[Instana] INFO: Not instrumenting process ${process.pid}: ${process.argv[0]} ${mainModule}` +
74
- // eslint-disable-next-line max-len
75
' - this Node.js process seems to be npm or yarn. A child process started via "npm start" or "yarn start" ' +
76
'_will_ be instrumented, but not npm or yarn itself.'
77
);
0 commit comments