Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradmontgomery/django-redis-metrics
Metrics for django apps backed by Redis.
https://github.com/bradmontgomery/django-redis-metrics
developer-tools django metrics redis
Last synced: 12 days ago
JSON representation
Metrics for django apps backed by Redis.
- Host: GitHub
- URL: https://github.com/bradmontgomery/django-redis-metrics
- Owner: bradmontgomery
- License: mit
- Created: 2012-12-26T16:53:33.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2023-11-02T21:52:42.000Z (about 1 year ago)
- Last Synced: 2024-10-30T14:12:19.420Z (14 days ago)
- Topics: developer-tools, django, metrics, redis
- Language: Python
- Homepage: http://django-redis-metrics.readthedocs.io
- Size: 1.34 MB
- Stars: 94
- Watchers: 13
- Forks: 24
- Open Issues: 9
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: docs/contributing.rst
- License: LICENSE.txt
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
Django Redis Metrics
====================|docs| |version| |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 3 and is tested with Django 2.2. For support for
older versions of Django, see the
`1.7.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... |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/.. |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