Sentry

<< Back to wiki homepage

Table of contents:

Test sentry connection via script

from raven import Client

address = 'https://full_dsn_url'

client = Client(address)

try:
    1 / 0
except ZeroDivisionError:
    client.captureException()

Adding more organizations to on-premise installations

It doesn't matter if you change it back to True, organizations will not be deleted.
That parameter is a "clever" way to restrict you, by removing "Add organization" option.

Fun fact: I was planning to convince the company I'm working with to use sentry.io, but didn't.
Just for dumb stuff like this (and they made it painful to install on-premise, JUST to make it more painful).

Checking queues

sentry queues list

Could need --config switch to point to sentry.conf.py depending on your installation. Important one could be preprocess one, if it is piling up, means sentry is not able to keep up.