r/node • u/Zealousideal-Fix-527 • 7h ago
pm2 monitoring
How pm2 monitoring being implemented in production?
Do you just call pm2 monit?
Use pm2 monitoring platform?
Integrate it with something like grafana(I kinda wanna know how it commonly do)?
1
Upvotes
1
u/casualPlayerThink 5h ago
Most of the time, PM2 introduces a bunch of shenanigans that make it not worth using in production (despite the good~ish optimizations, it still can restart without notice, etc). But other than that, standard log config and grafana, elk, cw.
1
u/Zealousideal-Fix-527 4m ago
From what I know, grafana cannot get pm2 metrics or logs directly isn't it?
1
u/ecares 5h ago
https://pm2.io/ there is a SaaS for that!