Giter VIP home page Giter VIP logo

sentry-plugins's Introduction

sentry-plugins

Extensions for Sentry. Includes GitHub, and HipChat.

Install the package via pip:

pip install sentry-plugins

Run migrations after installation is complete

sentry upgrade

Asana

You'll have to create an application in Asana to get a client ID and secret. Use the following for the redirect URL:

<URL_TO_SENTRY>/account/settings/social/associate/complete/asana/

Ensure you've configured Asana auth in Sentry:

ASANA_CLIENT_ID = 'Asana Client ID'
ASANA_CLIENT_SECRET = 'Asana Client Secret'

GitHub

You'll have to create an application in GitHub to get the app ID and API secret. Use the following for the Authentication redirect URL:

<URL_TO_SENTRY>/account/settings/social/associate/complete/github/

Ensure you've configured GitHub auth in Sentry:

GITHUB_APP_ID = 'GitHub Application Client ID'
GITHUB_API_SECRET = 'GitHub Application Client Secret'
GITHUB_EXTENDED_PERMISSIONS = ['repo']

If the callback URL you've registered with Github uses HTTPS, you'll need this in your config:

SOCIAL_AUTH_REDIRECT_IS_HTTPS = True

If your server is behind a reverse proxy, you'll need to enable the X-Forwarded-Proto and X-Forwarded-Host headers, and use this config:

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
USE_X_FORWARDED_HOST = True

Associate your account with GitHub (if you haven't already) via Account -> Identities. If you had already associated your account, and you hadn't configured extended permissions, you'll need to disconnect and reconnect the account.

You'll now see a new action on groups which allows quick creation of GitHub issues.

Caveats

If you have multiple GitHub identities associated in Sentry, the plugin will just select one to use.

GitLab

Go to your project's configuration page (Projects -> [Project] -> Issue Tracking) and select GitLab. Enter the required credentials and click save changes.

It's recommended to create a specific user for Sentry with only Reporter privileges on your projects.

HipChat

Go to your project's configuration page (Projects -> [Project]) and select the Hipchat tab. Enter the required credentials and click save changes.

Development

Create a tunnel to localhost using something like https://ngrok.com/download:

ngrok http 8000

Start Sentry with the following parameters set:

AC_BASE_URL=https://<xxx>.ngrok.io HTTPS=on sentry devserver

JIRA (Atlassian Connect UI Plugin)

Enable the plugin by adding it in the Add-on Management page in JIRA.

Development

Use https://ngrok.com to expose your local Sentry to the internet. Update your config.yml to use your ngrok url:

system.url-prefix: 'https://<xxx>.ngrok.io'

From the manage add-on page in JIRA, choose 'Upload add-on' and copy the URL for the descriptor view.

sentry-plugins's People

Contributors

dcramer avatar macqueen avatar mattrobenolt avatar maxbittker avatar lsnickolov avatar mitsuhiko avatar benvinegar avatar russelldavis avatar tvon-a avatar they4kman avatar lewisjellis avatar narfdotpl avatar hakshak avatar imankulov avatar russellrollins avatar stephen avatar timmygee avatar

Watchers

Andrei Kirillov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.