Skip to main content

Update for Django 1.8

Project description

About

Based on: Dowser

The original Dowser is WSGI enabled. Unfortunately, not all Django hosting providers use WSGI. In daily development the most common usage pattern is ./manage.py runserver which is not using WSGI. That’s the story why this fork was created.

In the other words the target of this project is to provide easy to use and install Django app to debug your memory leaks.

Following enhancements have been implemented on top of original Dowser:

  • long term analysis, 1m, 1h, 1d, 4w buffers

  • optimization by moving from lists to python deque

  • server load optimization by moving charts to google chart

  • only authenticated superuser can view analysis (Django specific)

Screen shot

Screen shot

Installation

# latest release
pip install django-dowser
# or latest master
pip install git+git://github.com/munhitsu/django-dowser.git

Next, modify project configuration to add the app:

settings.py

INSTALLED_APPS = (
#...
    'django_dowser',
#...
)

urls.py

urlpatterns += [url(r'^dowser2/', include('django_dowser.urls'))]

Example buildout recipe

[django-dowser]
location = django-dowser
recipe = zerokspot.recipe.git
repository = https://github.com/munhitsu/django-dowser

Note

Use django-dowser only on multithreaded servers. With forking, each fork will have it’s own Dowser storage.

Usage

Start the project and open link:

http://domain:port/dowser/

With development server, this is typically

http://localhost:8000/dowser/

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-dowser-0.1.4.tar.gz (9.1 kB view hashes)

Uploaded Source

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