Skip to content
Metrics for django apps backed by Redis.
Python HTML JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
redis_metrics
requirements
.gitignore
.travis.yml
AUTHORS.rst
HISTORY.rst
LICENSE.txt
MANIFEST.in
README.rst
setup.py

README.rst

Django Redis Metrics

Documentation Status Current Release Build Status Code Coverage License

This app allows you do define various named metrics (such as 'New Users', 'Downloads', or 'Purchases') and record when they happen.

Each metric can be assigned a Category or an optional Expiration time, and is stored at the second, minute, hourly, daily, weekly, monthly, and yearly level, so you can see the frequency of your data at different granularities.

Here's a sneak peak at how it works:

>>> from redis_metrics.utils import metric
>>> metric("Downloads", category="User Metrics")

Compatibility

This app works with Python 2 & 3 (tested on 2.7 and 3.4) and is tested with Django 1.7 - 1.9. For support for older versions of Django, see the 0.9.0 release.

Documentation

View the full documenation at http://django-redis-metrics.readthedocs.io/en/latest/.

License

This code is distributed under the terms of the MIT license. See the LICENSE.txt file.

Something went wrong with that request. Please try again.