Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.
/ sentry-to-slack Public archive

💤 Rack application to receive webwook from Sentry and notify to the Slack.

License

Notifications You must be signed in to change notification settings

qnyp/sentry-to-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-to-slack

FYI: NOW SLACK HAS OFFICIAL SENTRY INTEGRATION. USE https://my.slack.com/services/new/sentry

This is a rack application receives a webhooks request from Sentry and notify it to Slack.

Screenshot

Prerequisite to deployment

  • Heroku account and Heroku Toolbelt
  • Sentry account and Sentry Webhooks
  • Slack account

Usage

Create an app.

$ heroku apps:create YOUR_APP_NAME
Creating YOUR_APP_NAME... done, stack is cedar
http://YOUR_APP_NAME.herokuapp.com/ | [email protected]:YOUR_APP_NAME.git

Set config vars.

$ heroku config:set \
  SLACK_TOKEN="YOUR_SLACK_INCOMING_WEBHOOKS_TOKEN" \
  SLACK_TEAM="YOUR_SLACK_TEAM_ID" \
  SLACK_CHANNEL="#CHANNEL_NAME"

Push to deploy.

$ git push heroku master

Set http://YOUR_APP_NAME.herokuapp.com/notify as a Sentry webhooks endpoint.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

LICENSE

MIT License.

About

💤 Rack application to receive webwook from Sentry and notify to the Slack.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages