Skip to content

aortmann/event-manager-webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

event-manager-webhooks

A webhook listener and forwarder for google chat.

At this moment, support NewRelic Alerts and Github PRs.

How can I use it?

npm install
node app

Now, the app will listen in the port 9290 by default, but you can start the app with environment variables and override it, like this:

PORT=8080 node app

It supports NewRelic alerts and GitHub PRs, in each case:

Create a new Notification Channel in NewRelic of the Webhook type and set the URL: yourhost.com/webhooks/newrelic?webhook={google chat incoming webhook}

Go to your project settings, webhook section, create a new one with content-type application/json, with individual events, and enable Pull Request and pushes, with the URL: yourhost.com/webhooks/github?webhook={google chat incoming webhook}

The app will use the NewRelic agent if found it in the main directory, you can see the configuration here. It's not mandatory, but highly recommended ;)

This project was created in my spare time, so I wouldn't be surprised if you find some issues, submit it. Additionally, pull requests will be well received.

About

A webhook listener and forwarder for google chat, support github PRs & newrelic alerts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published