🚀
ShipWithDjango Documentation
  • Welcome to ShipWithDjango Documentation
  • When and How to use ShipWithDjango?
  • Getting Started
    • Obtaining a license
    • Downloading ShipWithDjango
    • Running locally
    • Next steps
  • Platform
    • Default Configuration
    • Subnavigation
  • Theme
    • Tailwind CSS
    • Configuration
  • Secret Management
    • Default Configuration
    • Setting your environment variables
    • Third-party providers
      • Infisical
      • AWS Secrets Manager
      • Azure Key Vault
    • Order of retrieval
  • Authentication
    • Default Configuration
    • GitHub
    • LinkedIn
  • Emailing
    • Default Configuration
    • Using SendGrid
    • Using SMTP
    • Using the task queue for sending emails
  • Payments & Billing
    • Billing
    • Stripe
  • OpenAI/Dall-E
    • Default Configuration
  • API
    • Django REST framework
    • Built-in API utilities
    • Postman
  • Logging
    • Default Configuration
    • Using Sentry
    • Using Better Stack
  • Localization
    • Translations
Powered by GitBook
On this page
  1. Logging

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.

PreviousDefault ConfigurationNextUsing Better Stack

Last updated 9 months ago