Closed chrisli30 closed 5 years ago
Hey,
The notify
method wasn't designed to send arbitrary object, it was only for errors.
We don't have any feature that could do the trick for you sorry. But i believe you could just post the message to the slack webhook within your app using few lines of code.
Okay, thanks Valentin
I see that pm2/io used to have .notify() to send custom data. I need to send hourly report in a JSON object to app.pm2.io so it can pass the data to connected slack channel. Is there any way to achieve that?
Thanks!