pankleks / pm2-health

Apps health monitor and mail notification module for pm2
MIT License
35 stars 14 forks source link

Notification forward plugin #19

Open pankleks opened 5 years ago

pankleks commented 5 years ago

Add possibility for end-user to inject notification forward plugin (js file) -> for example slack

rohit-gohri commented 5 years ago

So, this will be something like an option in the config where we can specify path to a js file that will be dynamically imported and will act as a Notification Handler?

If so, then there could probably be an implementation of a base class/handler that we can export and one can extend.