Integrating Sentry to Projects
Instructions
1. Login to Gurzu Sentry with your Gurzu email.
2. Select Projects tab from the sidebar.
3. Click on the + Create Project button.
Note
a. If you have permission to create a project, then follow the guide here to create a sentry project for your current app/project.
b. In case you don’t have permission to create your own sentry project, request the concerned person to create one and assign it to you.
4. Once you have access to your sentry project, you need to find the DSN. The DSN (or Data Source Name) is a URL that tells the SDK where to send the events, associating them with your sentry project.
5. Go to the settings page of your project
6. Find the Client Keys (DSN) on your project settings page
7. Follow the language specific guides provided in Sentry documentation to integrate Sentry into your project.
a. Most sentry libraries in commonly used frameworks like Rails and Sinatra use middleware to track errors in Sentry.
b. Copy the DSN URL and paste it in your environment file or secrets as
SENTRY_DSN="https://xxxx@sentry.gurzu.net/xx"
c. Most libraries tend to search for the DSN URI in SENTRY_DSN Environment Variable, but please make sure with the respective libraries' documentations.
Note
There are guides for more than 90 languages and platforms. Following the basic guide using the recommended libraries work best for most projects. Very little projects require additional steps.
-
Contributors: Saugat Khadka, Avash Mulmi ↩


