Skip to content
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

Feature request: PM2 logs to Discord Webhooks #21

Open
Hector6704 opened this issue Mar 3, 2020 · 1 comment
Open

Feature request: PM2 logs to Discord Webhooks #21

Hector6704 opened this issue Mar 3, 2020 · 1 comment
Labels
enhancement New feature or request postponed

Comments

@Hector6704
Copy link
Contributor

Description: Having the API forwarding PM2 logs to Discord via webhooks that will squash multiple logs in one message, with rate limits could be a great feature, as the topic of the API is also Discord Webhooks...

@Khaaz Khaaz added enhancement New feature or request postponed labels Mar 3, 2020
@Khaaz
Copy link
Owner

Khaaz commented Mar 3, 2020

Cool approach would be standalone software that listen to pm2 logs (using pm2 internal api), and sends post request to githook.
GithookAPI could then simply parse the payload as discord format and handle it.

Dealing with squashing multiple logs in one message could be more complicated githook API side.
It would make more sense to let the standalone pm2 listener handle that and send less request to githook anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request postponed
Projects
None yet
Development

No branches or pull requests

2 participants