Open NathanD14 opened 3 years ago
After thoroughly checking the code, the port on which pm2-metrics runs could be changed in exporter.js in earlier versions (1.0.25). But in version 1.0.38 this does not work as it is hardcoded in package.json
exporter.js
package.json
Hi, @NathanD14 I would love it if you can raise a PR maybe. Thank you!
U can change it like
pm2 set pm2-metrics:port 9210 pm2 install pm2-metrics
After thoroughly checking the code, the port on which pm2-metrics runs could be changed in
exporter.js
in earlier versions (1.0.25). But in version 1.0.38 this does not work as it is hardcoded inpackage.json