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.
- Heroku account and Heroku Toolbelt
- Sentry account and Sentry Webhooks
- Slack account
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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
MIT License.