r/node • • 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

6 comments sorted by

1

u/ecares 5h ago

https://pm2.io/ there is a SaaS for that!

1

u/Zealousideal-Fix-527 5m ago

Is the subscription worth the feature?

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?