Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Sends Sentry notifications to Mattermost.

License

Notifications You must be signed in to change notification settings

miZyind/mattermost-plugin-sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mattermost-plugin-sentry

Go Mattermost Sentry

Sends Sentry notifications to Mattermost.

This plugin will decode the following notification payload from Sentry:

{
  "project": "mattermost-plugin-sentry",
  "url": "http://sentry.example.com/mattermost-plugin-sentry/issues/1",
  "event": {
    "title": "Error: This is an error example",
    "location": "~/miZyind/mattermost-plugin-sentry/example.ts"
  }
}

And post the notification to the specific channel: Thumb-1

🔮 Usage

Add the callback url https://<MATTERMOST-HOST>/plugins/com.github.mizyind.mattermost-plugin-sentry/webhook?channel=<MATTERMOST-CHANNEL-ID> to Sentry's WebHooks plugin: Thumb-2

That's it!

🔨 Build

# Uses makefile to compile go binary file and generates a tar bundle of the plugin for install.
$ make
# Output "plugin.tar.gz" to the current working directory.

🖋 Author

miZyind mizyind@gmail.com

📇 License

Licensed under the MIT License.