Skip to main content

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.3 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.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

django-profiling-dashboard-fc-1.0.zip (16.7 kB view details)

Uploaded Source

File details

Details for the file django-profiling-dashboard-fc-1.0.zip.

File metadata

File hashes

Hashes for django-profiling-dashboard-fc-1.0.zip
Algorithm Hash digest
SHA256 37afc3fa405de2edc6d234a98d6d16baab7fd1c43fdd198adddf0a9232c691ee
MD5 4aac27526ceadb6f2a9caabb26451a1b
BLAKE2b-256 d11a0d5b8757e82efc4753c215ef6bc00c64fa793842499b540853ff6bf4c999

See more details on using hashes here.

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