Skip to main content

Statistics middleware and analysis tools for django

Project description

Statistics middleware and analysis tools for django

Installation

To get the latest stable release from PyPi

$ pip install django-nox

Add all relevant apps to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'django_nox',
)

Add all middleware to your MIDDLEWARE

MIDDLEWARE = (
    ...,
    'django_nox.middleware.TimeLogMiddleware'
)

Don’t forget to migrate your database

./manage.py migrate

Usage

Running & Sorting Results

Once you’ve installed it, the request times will be log in database, and you can run this command to analyze the resulting data:

$ python manage.py nox_analyze

Settings

To configured some parmas in settings.py

NOX_SLOW_REQUEST

Default: 0

Slow request. Number of rows from which a request will be assumed to be slow and store to database.

Enjoy!

Email me with any questions: [liangjinfeng@youmi.com](liangjinfeng@youmi.com).

Project details


Download files

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

Files for django-nox, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django-nox-0.0.2.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page