TypeError: Cannot read property ‘filter’ of undefined
at getMissingVariables (/usr/app/utils/verifier.js:32:31)
at Object.module.exports.verifyEnvironmentVars (/usr/app/utils/verifier.js:20:35)
at Object. (/usr/app/app.js:3:29)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
I0225 15:09:53.460655 26258 exec.cpp:162] Version: 1.2.3 I0225 15:09:53.464668 26272 exec.cpp:237] Executor registered on agent 8fa373fb-cbf2-4fce-8051-53d4077cdde5-S32 /usr/app/utils/verifier.js:32 return mandatoryVariables.filter((variable) => { ^
TypeError: Cannot read property ‘filter’ of undefined at getMissingVariables (/usr/app/utils/verifier.js:32:31) at Object.module.exports.verifyEnvironmentVars (/usr/app/utils/verifier.js:20:35) at Object. (/usr/app/app.js:3:29)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
failing with PROMETHEUS and not prometheus