Django fork of amazing memory leaks tracking application for python wsgi - the Dowser
Project description
About
Based on: Dowser
A Django specific Dowser port.
Following enhancements have been implemented on top of the original Dowser:
long term historical analysis: 1m, 1h, 1d, 4w buffers
optimization by moving from lists to python deque
server load optimization by moving charts to google chart
only superuser can view the analysis (Django specific)
Future
move charts to javascript
move inline html to templates
drop Django 1.x and Python 2.x compatibility
Installation
# latest release pip install django-dowser # or latest master pip install git+git://github.com/munhitsu/django-dowser.git
Next, modify project configuration.
settings.py
INSTALLED_APPS += ['django_dowser']
urls.py
from django.urls import path, include urlpatterns += [url(r'^dowser/', include('django_dowser.urls'))]
Note
Use django-dowser only on multithreaded/gevent servers. With forking, or multiple servers, each process will have it’s own Dowser storage, so you will only get a glimpse into one process and further requests may be load balanced to the other servers.
Usage
Start the project and open link:
http://domain/dowser/
When running in the local development mode, it is usually:
http://127.0.0.1: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
Built Distribution
File details
Details for the file django-dowser-0.1.8.tar.gz
.
File metadata
- Download URL: django-dowser-0.1.8.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b6a9c05d7a6c06c6b94bb5417fe6428816c72ca4aee677d283a5e57a1ac7f6 |
|
MD5 | 17b0760ec16e16cbe5490ea094187d89 |
|
BLAKE2b-256 | 394a98ff9274a97d4c22538990ca0a27d7596807225142cffe9973573934a6d2 |
File details
Details for the file django_dowser-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: django_dowser-0.1.8-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e325e15d6460dfb32ea5a473a0cb58f819717477165cb93e49007c50c4161102 |
|
MD5 | bcdddc3a1cd94167991053244e16d63c |
|
BLAKE2b-256 | 77aa2e79cb2c6111decabf32d874dee9f71e420a46e7faf204041da0bdfe801e |