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. Add ‘profiler’ app to INSTALLED_APPS

  2. Add ‘profiler.middleware.ProfilerMiddleware’ to MIDDLEWARE_CLASSES

  3. 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.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

django_live_profiler-0.0.1-py2.6.egg (10.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-live-profiler-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a0d6af8625275638305e06254a99b5778713f458c4d4bc1bbf87c8a26ad8c520
MD5 bb255f6f82b24c5dd1785654de727d37
BLAKE2b-256 5094ed4cfc24fd249c18fd5dab8316fd335ee2b8a233fbe45c6904fb51af649f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_live_profiler-0.0.1-py2.6.egg
Algorithm Hash digest
SHA256 c0cfbc2062bd247634e5dc27ed5a9b8dfa7e2b1d0e913a07709e423dec6e13a6
MD5 60aa147e2dea7593827c9373e6c3d8e0
BLAKE2b-256 aa9b21554058d4244f48bab9b5387471f68b77fb7d297b5a16f6be31191a996d

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