Skip to main content

django-redis-metrics is a Django application for tracking application metrics backed by Redis.

Project description

Documentation Status Current Release 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 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-redis_metrics-2.2.0.tar.gz (108.3 kB view details)

Uploaded Source

Built Distribution

django_redis_metrics-2.2.0-py3-none-any.whl (126.5 kB view details)

Uploaded Python 3

File details

Details for the file django-redis_metrics-2.2.0.tar.gz.

File metadata

  • Download URL: django-redis_metrics-2.2.0.tar.gz
  • Upload date:
  • Size: 108.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for django-redis_metrics-2.2.0.tar.gz
Algorithm Hash digest
SHA256 2b49edca476e9def3f4d363ed0da5747de11405e203a2928eaffc075d5bb8e55
MD5 aa59c0d4165e244e8bdbfad4499e2cb5
BLAKE2b-256 3d0e3ebf6098b652037d11baf42f16c51bd32577d9fd5ec147fc145c53a22f8a

See more details on using hashes here.

File details

Details for the file django_redis_metrics-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_redis_metrics-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ff45555bd88f0295579847f30c94e00371990d288cf087723d59a23045733c
MD5 a9723fde6bef39fecdcb124e7f493958
BLAKE2b-256 cb51a9d30f3b98555c317253f798db76cb433b5623e86dbb0204eecd5a32bc3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page