From 3aeeba02f628bf4f19e8d5b93657fd94a6ef0ec7 Mon Sep 17 00:00:00 2001 From: vince Date: Mon, 19 Mar 2018 15:55:57 +0100 Subject: [PATCH] fix: remove unused variable when trying to use tracing --- lib/ProcessUtils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ProcessUtils.js b/lib/ProcessUtils.js index 3e90117e3..4162fe3fc 100644 --- a/lib/ProcessUtils.js +++ b/lib/ProcessUtils.js @@ -1,9 +1,12 @@ module.exports = { injectModules: function() { + console.log(process.env.pmx) if (process.env.pmx !== 'false') { const pmx = require('pmx'); + console.log('-------------------------------------------------') + console.log(process.env.km_link,process.env.trace, process.env.deep_monitoring) pmx.init({ - transactions: (process.env.km_link === 'true' && (process.env.trace === 'true' || process.env.deep_monitoring === 'true')) || false, + transactions: (process.env.trace === 'true' || process.env.deep_monitoring === 'true') || false, http: process.env.km_link === 'true' || false, v8: process.env.v8 === 'true' || process.env.deep_monitoring === 'true' || false, event_loop_dump: process.env.event_loop_inspector === 'true' || process.env.deep_monitoring === 'true' || false,