This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A plugin for django_debug_toolbar that logs results to the database for aggregated review.

Project Description

Django Debug Logging is a “plugin” for the Django Debug Toolbar that allows users to log the debug toolbar statistics to the database during a site crawl. This allows users to create performance testing plans to exercise the site, and then review and aggregate the results afterwards to identify performance problems.

It also provides a basic UI for browsing the details that have been logged to the database and reviewing aggregated information about test runs. The UI borrows a lot from the custom Sphinx theme by the Read the Docs team, and the Sentry project from Disqus.

The overall goal is to use this tool to monitor performance statistics over time, so that you can see trends and spikes in the number of queries, cache misses, cpu time, etc., and identify where in the app the problems are coming from. It is not intended as a load testing tool, so features like concurrency and warmup periods will not be part of the initial focus.

Screenshots

The main Debug Logging frontend view:

A test run:

A log record:

To Do

We welcome contributions! Here are some of our main priorities for continued development:

  • Add a –repeat option to the log_urls command so that the urls can be run through multiple times.
  • Write more complex performance tests that use TestCase classes and log each request from the Django test client.
  • Graph the aggregated stats of the runs.
  • Take more inspiration from Sentry and group hits on the same urls within the same run together, showing aggregated and individual stats.
Release History

Release History

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.2b1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-debug-logging-0.4.tar.gz (55.3 kB) Copy SHA256 Checksum SHA256 Source Nov 30, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting