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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_live_profiler-0.0.6-py2.7.egg (11.2 kB view details)

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for django-live-profiler-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b1b386a4fcb208b9c8fcb4de901166e89707c2b698c50f238be8b1a57bb2c380
MD5 52c9ae4531d44d3a89076616fa102924
BLAKE2b-256 f910c174e3c8b5537f329ab6460807ae8e8b3b756773db644e5c6a9defa60476

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_live_profiler-0.0.6-py2.7.egg
Algorithm Hash digest
SHA256 8b457ff3ef74c19684d4790a1bb8c3774baa8a70b2acdb274d0d78793cd66a63
MD5 65b20f595f45981e51a195b03093901b
BLAKE2b-256 7fd4915ed6fc09e5cfb762f83583703c3c927e04d537f9f2b09edeccbfcd21d0

See more details on using hashes here.

Supported by

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