We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4722b24 commit 7fde6ccCopy full SHA for 7fde6cc
probes/trace-probe.js
@@ -263,7 +263,7 @@ function isAppInnerRequire() {
263
var trace = {};
264
Error.captureStackTrace(trace);
265
var callerLine = trace.stack.split('\n'); // This line contains 'node_modules' reference for generic libs
266
- return callerLine[6].indexOf('node_modules') == -1;
+ return callerLine[6].indexOf('node_modules') == -1 && callerLine[6].indexOf('ibmapm') == -1;
267
}
268
269
function instrumentMethods(moduleName, target) {
0 commit comments