Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython

django-toolbar-statsd is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1 Failed View build log
Windows (64-bit)
0.1 Failed View build log
Mac OS X (10.5+)
0.1 Failed View build log
Linux (32-bit)
0.1 Failed View build log
Linux (64-bit)
0.1 Failed View build log
 
Links
Author
License
BSD
Lastest release
version 0.1 on Nov 26th, 2011

A tool that mashes up django-debug-toolbar, graphite, statsd and pystatsd.

Before you can think about getting this to work you'll need:

  • A graphite server running processing the data from statsd
  • Some django middleware that sends the data to statsd

Pystatsd: https://github.com/andymckay/pystatsd

You will need this fork until my pull request is merged.

Graphite: http://graphite.wikidot.com/installation

Django debug toolbar: https://github.com/django-debug-toolbar/django-debug-toolbar

Nuggets: https://github.com/mozilla/nuggets

An example Django app that logs to statsd on each request if you add the following to your middleware:

MIDDLEWARE_CLASSES = (
    'commonware.response.middleware.GraphiteRequestTimingMiddleware',
    'commonware.response.middleware.GraphiteMiddleware',
)

If you've got that, you may install. To your settings, add the following:

DEBUG_TOOLBAR_PANELS = (
    ...
    'toolbar_statsd.panel.StatsdPanel'
)

STATSD_CLIENT = 'toolbar_statsd.panel'

TOOLBAR_STATSD = {
    'graphite': 'http://your.graphite.server',
    'roots': ['root.key.for.dev', 'root.key.for.stage']
}

INSTALLED_APPS = (
    ...
    'toolbar_statsd'
)

Notes: django-debug-toolbar middleware must come after graphite middleware.

See: example.png for an example of the fun that can be had.

Subscribe to package updates

Last updated Nov 26th, 2011

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.