django-redis-metrics is a Django application for tracking application metrics backed by Redis.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-redis-metrics-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8fc6cd29b2e15c9c7cd2d6e5a6bc7052cf42ae10010c6fc6ad3c701f6637fac |
|
MD5 | b7f039364ed861d691b6b16cd02384b5 |
|
BLAKE2b-256 | c28663b3056ba1399c89c0a49c2269b146be40ab1877b538ae79c9e97aaab80e |