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


Release history Release notifications

This version
History Node

0.0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-nox-0.0.2.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page