Using Sentry

Sentry is a widely used tool for real-time error tracking and performance monitoring. If you want to leverage Sentry in your application, follow these steps:

  1. Enable Sentry: Set the USE_SENTRY variable to True.

  2. Configure DSN: Set the SENTRY_DSN variable to the DSN provided by Sentry when you set up your account.

USE_SENTRY = False  # Change to True to enable Sentry
SENTRY_DSN = None  # Set this to your Sentry DSN

With Sentry enabled, your application will send error reports and performance data to Sentry, allowing you to monitor your application more effectively.

Last updated