Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django Stopwatch

Project Description

api metrics collector middleware for django

This package provides a django middleware to collect API metrics.

Installation

$ pip install django-stopwatch

Usage

MIDDLEWARE_CLASSES += (
    'stopwatch.middleware.StopWatchMiddleware',
)

Configuration and Default

STOPWATCH_KEYBUILDER = 'stopwatch.keybuilders.RestApiKeyBuilder'
STOPWATCH_BACKENDS = (
    'stopwatch.backends.StatsDStopWatchBackend',
)
STOPWATCH_STATSD_PREFIX = stopwatch
STOPWATCH_STATSD_HOST = None
STOPWATCH_STATSD_PORT = None

License

This software is licensed under the Apache License 2.0. See the LICENSE file in the top distribution directory for the full license text.

Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-stopwatch-0.2.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Apr 10, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting