Skip to content

johndiginee/Monitoring-Django-Application-Performance-Errors-with-Sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Django Application Performance Errors with Sentry

Sentry is an application monitoring platform that allows developers to track errors and performance data.

I added Sentry to my Django application so that I can track and resolve any errors or performance issues that occur while my application is in production.

Installation Steps

  1. Clone the repository:

     git clone https://github.com/johndiginee/Monitoring-Django-Application-Performance-Errors-with-Sentry.git
    
  2. Change into the parent directory:

     cd Monitoring-Django-Application-Performance-Errors-with-Sentry
    
  3. Set up a virtual environment:

     python3 -m venv venv
    
  4. Activate your virtual environment:

     source venv/bin/activate
    
  5. Install the Python dependencies:

     pip install -r requirements.txt
    
  6. Create a .env file and set necessary secret keys below:

  7. Apply migrations to create the database schema:

     python3 manage.py makemigratiions
     python3 manage.py migrate
    
  8. Start the development server:

python3 manage.py runserver

Screenshots