django-redis-metrics 0 travis-ci python

Metrics for django apps backed by Redis.

3 years after MIT

Django Redis Metrics

|docs| |version| |travis| |coveralls| |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.5) and is tested with Django 1.8 - 1.10. For support for older versions of Django, see the 0.9.0 release <https://github.com/bradmontgomery/django-redis-metrics/releases/tag/0.9.0>_.

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.

.. |version| image:: http://img.shields.io/pypi/v/django-redis-metrics.svg?style=flat-square :alt: Current Release :target: https://pypi.python.org/pypi/django-redis-metrics/

.. |travis| image:: http://img.shields.io/travis/bradmontgomery/django-redis-metrics/master.svg?style=flat-square :alt: Build Status :target: https://travis-ci.org/bradmontgomery/django-redis-metrics

.. |coveralls| image:: http://img.shields.io/coveralls/bradmontgomery/django-redis-metrics/master.svg?style=flat-square :alt: Code Coverage :target: https://coveralls.io/r/bradmontgomery/django-redis-metrics

.. |license| image:: http://img.shields.io/pypi/l/django-redis-metrics.svg?style=flat-square :alt: License :target: https://pypi.python.org/pypi/django-redis-metrics/

.. |docs| image:: https://img.shields.io/badge/Docs-Latest-brightgreen.svg?style=flat-square :target: http://django-redis-metrics.readthedocs.org/en/latest/?badge=latest :alt: Documentation Status

Related Repositories

awesome-flask

awesome-flask

A curated list of awesome Flask resources and plugins ...

awesome-resources

awesome-resources

Awesome resources for coding and learning: open source projects, websites, books ...

django-app-metrics

django-app-metrics

Simple framework for capturing in application metrics and emailing aggregation r ...

django-redis-monitor

django-redis-monitor

Request per second / SQLop per second monitoring for Django, using Redis for sto ...

awesome-stars

awesome-stars

Awesome List of my own! ...


Top Contributors

bradmontgomery charles-vdulac smaccona toastdriven heyman remohammadi mvillarejo artschwagerb sttts phoebebright jellonek stephanpoetschner vlinhart

Releases

-   v1.5.0 zip tar
-   v1.4.0 zip tar
-   v1.3.0 zip tar
-   v1.2.0 zip tar
-   v1.1.0 zip tar
-   v1.0.3 zip tar
-   v1.0.2 zip tar
-   v1.0.1 zip tar
-   v1.0.0 zip tar
-   v0.8.3 zip tar
-   v0.8.2 zip tar
-   v0.8.1 zip tar
-   v0.8.0 zip tar
-   v0.7.2 zip tar
-   v0.7.1 zip tar
-   v0.7.0 zip tar
-   v0.6.0 zip tar
-   v0.5.1 zip tar
-   0.9.0 zip tar