diff --git a/lib/ProcessUtils.js b/lib/ProcessUtils.js index 1f0b77032..4dad21969 100644 --- a/lib/ProcessUtils.js +++ b/lib/ProcessUtils.js @@ -20,9 +20,9 @@ module.exports = { deep_metrics: process.env.deep_monitoring === 'true' || false }; - Object.assign(conf, defaultConf); + const mergedConf = Object.assign(defaultConf, conf); - pmx.init(conf); + pmx.init(mergedConf); if(require('semver').satisfies(process.versions.node, '>= 8.0.0')) { var url = '';