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


Download files

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

Source Distribution

django-live-profiler-0.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

django_live_profiler-0.0.3-py2.6.egg (11.2 kB view details)

Uploaded Source

File details

Details for the file django-live-profiler-0.0.3.tar.gz.

File metadata

File hashes

Hashes for django-live-profiler-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4b3a9ada42186d0b830c4e1329c71644152881bf3273335b36e7c0613c223f57
MD5 1b653ebdd5152457ace7b5af2e1e95cc
BLAKE2b-256 3ca91b3a0e96ab82a4b3911d96493e0146d4c64ba8e76daf9994bcda7b11f39a

See more details on using hashes here.

Provenance

File details

Details for the file django_live_profiler-0.0.3-py2.6.egg.

File metadata

File hashes

Hashes for django_live_profiler-0.0.3-py2.6.egg
Algorithm Hash digest
SHA256 d397acb7fc51f01728a6c007b53ba99e63e40be7178f7fc2a2d8e6b080242ba9
MD5 9158cd818fae5ecfbe4edff6c438ca41
BLAKE2b-256 83c883aa8a9cfba5adeb1c24a8152ad2b4c87dc74daf8d920329d4b92e86e997

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page