appmetrics-dash
appmetrics-dash copied to clipboard
Can't run it inside Phusion Passenger
I'm trying to run it on a web hosting which uses Phusion Passenger and i get the following error:
`
[Sun Nov 8 17:18:33 2020] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 5.1.1.202011081608 (Agent Core 4.0.5)
Trace: You required the Node Cluster module, which is incompatible with Passenger, a non-functional shim was returned and your app may still work. However, please remove the related code as soon as possible.
at Module.require (/opt/passenger-5.3.7-9.el7.cloudlinux/src/helper-scripts/node-loader.js:63:12)
at Module.newFunc [as require] (/home/test-user/nodevenv/test-domain.com/node-app/12/lib/node_modules/appmetrics/lib/aspect.js:101:26)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.
TypeError: process.send is not a function
at Object.send (/home/test-user/nodevenv/test-domain.com/node-app/12/lib/node_modules/log4js/lib/clustering.js:86:15)
at Logger._log (/home/test-user/nodevenv/test-domain.com/node-app/12/lib/node_modules/log4js/lib/logger.js:87:16)
at Logger.log (/home/test-user/nodevenv/test-domain.com/node-app/12/lib/node_modules/log4js/lib/logger.js:70:12)
at Logger.
Does anyone knows whats the problem and how to solve it?