Sentry
Configure Sentry
- Edit openboxes-config.properties file
- Add the following
properties and paste the DSN (Deprecated) value to
grails.plugins.raven.dsn
in the config file.
grails.plugins.raven.active = true
grails.plugins.raven.dsn = http://<client-dsn-key>:<client-secret>@sentry.openboxes.com:9000/1
Note
.properties
files do not handle boolean values very well. So if you ever need to disable Sentry support in the
future, comment out the grails.plugins.raven.active
flag by
adding a hash (#) to the beginning of the line. You can also convert your .properties
file to a .groovy
file
or simply add these lines to a new .groovy
. For a .groovy
file, the DSN value needs to be wrapped in double quotes (").
#grails.plugins.raven.active = true
grails.plugins.raven.dsn = http://<client-dsn-key>:<client-secret>@sentry.openboxes.com:9000/1
Getting a Sentry DSN
-
Go to sentry.io and click the Get started button.
-
Create a new project
-
Go to Settings > Projects > My Project > Client Keys (DSN)
-
Copy DSN Deprecated