Skip to main content

django-processinfo is a Django application to collect information about the running server processes.

Project description

django-processinfo is a experimental Django application to collect information about the running server processes.

What is it not:

  • track user actions

  • collect infos which are found in e.g. apache.log

more info: http://www.python-forum.de/viewtopic.php?f=6&t=27168 (de)

usage

add to settings.py:

INSTALLED_APPS = (
    ...
    'django_processinfo',
    ...
)

MIDDLEWARE_CLASSES = (
    'django_processinfo.middlewares.django_processinfo.ProcessInfoMiddleware',
    ...
)

# include app settings from ./django_processinfo/app_settings.py
from django_processinfo import app_settings as PROCESSINFO

# Change settings like this:
PROCESSINFO.ADD_INFO = True

run: syncdb to create database tables.

ProcessInfoMiddleware

The ProcessInfoMiddleware can actually be inserted anywhere. However, it should be added far above. Thus, to capture everything.

For performance enhancement, put ProcessInfoMiddleware after LocalSyncCacheMiddleware. Then, however, lacks some statistical values​​ (in every cache hit).

donation

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-processinfo-0.1.0.0818.tar.gz (8.0 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