Skip to content

Sentry webhooks to slack message converter proxy

License

Notifications You must be signed in to change notification settings

innogames/slaxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slaxy

Sentry webhooks to slack message converter proxy.

Build Status GoDoc Go Report Card Release

Contents

General

Slaxy provides an HTTP web interface that is capable of receiving Sentry webhooks, converting them to Slack messages and posting them to Slack on behalf of a bot user for example. A token is required to authenticate to Slack.

Once the server is up and running it will continuously receive webhooks from Sentry and post them to the configured channel in your Slack workspace.

Installation

You can simply go install the binary that serves as a HTTP server:

$ go install github.com/innogames/slaxy/slaxy

Usage

Example Config

grace-period: 60s
addr: 127.0.0.1:3000
bot-token: xoxb-###-###-###
channel: xxx
excluded-fields:
  - ^sentry:.*$

CLI

  _________.__
 /   _____/|  | _____  ___  ______.__.
 \_____  \ |  | \__  \ \  \/  <   |  |
 /        \|  |__/ __ \_>    < \___  |
/_______  /|____(____  /__/\_ \/ ____|
        \/           \/      \/\/

Usage:
  slaxy [flags]

Flags:
  -a, --addr string               listen address (default "localhost:3000")
  -n, --channel string            slack channel
  -c, --config string             path to config file if any
  -e, --excluded-fields strings   excluded sentry fields
  -g, --grace-period duration     grace period for stopping the server (default 1m0s)
  -h, --help                      help for slaxy
  -t, --token string              slack token