-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why "You shouldn't use this module"? #18
Comments
@henry42 have you found a way to extract those crash logs? I'm using this module to have a single process per machine that report all the node.js crash logs to an error tracking platform. |
Hey guys, this repository is deprecated, and not updated. The info about how to interact with pm2 programtically is explained here: Cheers |
@fredericosilva |
You should try this instead: https://github.com/Unitech/PM2/blob/master/doc/PROGRAMMATIC.md CLI commands + BUS system (for logs, events etc) |
@Unitech @henry42 responded to your suggestion, and your response listed an answer which does not address the request. @henry42 wants to send messages between processes. PM2 programatic allows for remote execution commands but does not expose msgProcess. Also the PM2 programmatic commands are limited in that you can't pass a hash of data along with. |
When message was sent from worker to the master process, master needs something like |
Why "You shouldn't use this module"? I think it's a very useful module for me to monitor my processes and catch notifications.
And I didn't find a way to send notifications between processes using pm2 module in your suggestion.
(and also it's small enough)
The text was updated successfully, but these errors were encountered: