Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/munhitsu/django-dowser
Django fork of amazing memory leaks tracking application for python wsgi - the Dowser
https://github.com/munhitsu/django-dowser
Last synced: 9 days ago
JSON representation
Django fork of amazing memory leaks tracking application for python wsgi - the Dowser
- Host: GitHub
- URL: https://github.com/munhitsu/django-dowser
- Owner: munhitsu
- License: mit
- Archived: true
- Created: 2011-04-18T16:49:44.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T00:13:58.000Z (over 5 years ago)
- Last Synced: 2024-10-02T09:09:06.402Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 153 KB
- Stars: 92
- Watchers: 5
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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).. figure:: https://github.com/munhitsu/django-dowser/raw/master/wiki/screen0.png
:alt: Screen shotScreen shot
Future
======
- move charts to javascript
- move inline html to templates
- drop Django 1.x and Python 2.x compatibilityInstallation
============::
# latest release
pip install django-dowser
# or latest master
pip install git+git://github.com/munhitsu/django-dowser.gitNext, 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/