django-statsd 2.0.1

django-statsd is a django app that submits query and view durations to Etsy's statsd.

Install

To install simply execute python setup.py install. If you want to run the tests first, run python setup.py test

Usage

To install, add the following to your settings.py:

  1. django_statsd to the INSTALLED_APPS setting.

  2. django_statsd.middleware.StatsdMiddleware to the top of your

    MIDDLEWARE_CLASSES

  3. django_statsd.middleware.StatsdMiddlewareTimer to the bottom of your

    MIDDLEWARE_CLASSES

Advanced Usage

>>> def some_view(request):
...     with request.timings('something_to_time'):
...         # do something here
...         pass
>>>
>>> def some_view(request):
...     request.timings.start('something_to_time')
...     # do something here
...     request.timings.stop('something_to_time')
BSD

Author

Rick van Hattem

Pip

django-statsd==2.0.1

Classifiers

  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • License :: OSI Approved :: BSD License
  • Programming Language :: Python :: Implementation :: PyPy
  • Programming Language :: Python :: 3.5
File Type Python Version Uploaded On Downloads
django-statsd-2.0.1.tar.gz Source Nov. 20, 2014 3,206
Version Release Date
2.0.1 Nov. 20, 2014
2.0.0 Nov. 20, 2014
1.9.3 Nov. 19, 2014
1.9.2 Aug. 22, 2014
1.9.1 Aug. 19, 2013
1.9.0 July 15, 2013
1.8.1 June 12, 2012
1.8.0 June 6, 2012
1.7.2 March 13, 2012
1.7.1 March 12, 2012
1.7 March 12, 2012
1.5 Aug. 9, 2011
1.4 Aug. 4, 2011
1.3 Aug. 4, 2011
1.2 Aug. 4, 2011
1.1 July 12, 2011
1.0 July 11, 2011
Date Package Version Action
Aug. 26, 2015, 12:27 a.m. django-statsd 1.1 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.7.1 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.8.1 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.8.0 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.9.2 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.9.3 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.9.0 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.9.1 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.7.2 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.3 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 2.0.0 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 2.0.1 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.2 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.0 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.7 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.5 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd 1.4 Release Created
Aug. 26, 2015, 12:27 a.m. django-statsd Package Created