Skip to main content
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!

Django profiling dashboard for debugging CPU, memory and other resources usage in live servers

Project Description

django-profiling-dashboard provides a dashboard with various profiling tools suitable for use in live servers.

Requirements

Dashboard remplates are based on Bootstrap toolkit.

django-profiling-dashboard requires django >= 1.5 and python >= 2.6.

Installation

Make sure the requirements are installed:

pip install yappi pympler psutil
pip install git+https://github.com/daevaorn/django-query-exchange.git#egg=django-query-exchange

and install django-profiling-dashboard using pip:

pip install django-profiling-dashboard

Usage

  1. Add 'profiling_dashboard' and 'query_exchange' to INSTALLED_APPS:

    INSTALLED_APPS = (
        # ...
        'query_exchange',
        'profiling_dashboard',
        # ...
    )
    
  2. include ‘profiling_dashboard.urls’ in your urls.py:

    urlpatterns = patterns('',
        # ...
        url(r'^profiling-dashboard/', include('profiling_dashboard.urls')),
        # ...
    )
    
  3. visit /profiling-dashboard/

Screenshots

TODO

Notes on CPU profiling in multi-process environment

If there are several server processes then the profiler have to be started and stopped for each process, and the profiling stats will be different for different processes.

In some deployment schemas (e.g. apache proxied by nginx) there is no way to make sure subsequent requests will be handled by the same server process so take this in account while using django-profiling-dashboard.

Release History

This version
History Node

0.2

History Node

0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django_profiling_dashboard-0.2-py2-none-any.whl
(22.1 kB) Copy SHA256 Hash SHA256
Wheel 2.7 May 29, 2015
django-profiling-dashboard-0.2.tar.gz
(18.3 kB) Copy SHA256 Hash SHA256
Source None May 29, 2015

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting