Skip to main content

A database access profiler for Django-based applications that can be ran in production with minimal performace overhead.

Project description

Profile Django-based applications running in production with minimal performance overhead.

##Rationale Profiling web applications on a development environment often produces misleading results due to different patterns in the data, different patterns in user behavior and differences in infrastructure.

All existing DB access profiling solutions for Django seem to be focusing on a single request. However, in the real world certain queries might be negligible in a single request while still puttin a considerable strain the database across all requests.

django-live-profiler aims to solve these issues by collecting database usage data from a live application.

![screenshot](https://github.com/InviteBox/django-live-profiler/raw/master/doc/screenshot1.png)

##Requirements django-live-profiler currently requires MongoDB to store query data.

##Installation 1. Run pip install django-live-profiler 2. Add ‘profiler’ app to INSTALLED_APPS 3. Add ‘profiler.middleware.ProfilerMiddleware’ to MIDDLEWARE_CLASSES 4. Add url(r’^profiler/’, include(‘profiler.urls’)) to your urlconf

Visit http://yoursite.com/profiler/ for results.

Project details


Release history Release notifications

History Node

0.0.9

History Node

0.0.8

History Node

0.0.6

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_live_profiler-0.0.5-py2.7.egg (73.0 kB) Copy SHA256 hash SHA256 Egg 2.7 Dec 20, 2012
django-live-profiler-0.0.5.tar.gz (63.7 kB) Copy SHA256 hash SHA256 Source None Dec 20, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page