Zesty metrics collection and Statsd integration for Django.
django-zesty-metrics is a middleware suite that uses statsd to report important metrics to a StatD server.
Out of the box, it will track:
With some minor configuration, it will track:
Install with pip install django-zesty-metrics.
Alternately, clone the git repository and execute python setup.py install within.
In your Django settings:
Set up a cron job to run the report_metrics django-admin.py command regularly. At least once a day, but you can update it as often as you want. This command reports metrics from the trackers that you configure in ZESTY_TRACKING_CLASSES.
If you want to send metrics from the client-side, hook up the default URLs in your urls.py:
urlpatterns = patterns( '', url(r'^metrics/', include('zesty_metrics.urls')), )