-
Notifications
You must be signed in to change notification settings - Fork 16
Sentry integration
Kostiantyn Kostiuk edited this page Aug 8, 2021
·
1 revision
Sentry is a service that helps you monitor and fix crashes in real time. The server is in Python, but it contains a full API for sending events from any language, in any application.
- Navigate to
https://sentry.io
and create a new account - Go to step 10 of the Self-Hosted Sentry instruction
- Download sentry release from GitHub.
- Extract the archive to the
/opt
directory for example. Sentry will load config from this directory. - Run
./install.sh
. - Update SMTP server config in
sentry/config.yml
. - For integration with 3th-party services (GitHub/Slack) update corresponding field in
sentry/config.yml
. - Use
docker-compose up -d
to start the sentry server. - Setup HTTPS reverse proxy (optional, but required for integration with Slack, etc).
- Navigate to
http://<sentry_host>:9000/
or HTTPS proxy (if available). - Accept EULA and finish server configuration.
- Create new Ruby project
http://<sentry_host>:9000/organizations/sentry/projects/new/
. - Copy the DSN value from the 'configuration' section.
- Set SENTRY_DSN environment via
.env
or.bashrc
files or any other way.