Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    django-toolbar-statsd 0.1

    Download button

    No screenshots available
    Downloads: 91  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Andy McKay | More programs
    BSD License / FREE
    November 29th, 2011, 11:01 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-toolbar-statsd description

    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.


    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    django-debug-toolbar mash | graphite mash | statsd mash | django-debug-toolbar | graphite | statsd

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM