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.4.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

django_live_profiler-0.0.4-py2.7.egg (14.4 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-live-profiler-0.0.4.tar.gz
Algorithm Hash digest
SHA256 246ed9dfda163973c2a950822460a25a57ae69b2f7abf157ba2a8eca3b54e2e3
MD5 d2be69e19c241be938c14399d9b02ffc
BLAKE2b-256 51f3199e16d80575ce67dada0dce32b38a00d4ba5be942da0a4b99333f1a6750

See more details on using hashes here.

Provenance

File details

Details for the file django_live_profiler-0.0.4-py2.7.egg.

File metadata

File hashes

Hashes for django_live_profiler-0.0.4-py2.7.egg
Algorithm Hash digest
SHA256 eb9683b7bfe7d5ed4a87ade45daa67e000fdfd502898605c20d748464a9d9813
MD5 81c8d805029d4013b8fdd7351fede18a
BLAKE2b-256 cfd66db7b13627b3f226af539feb74db7c7b1bb0cc192a35ec802bc5e845bd43

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