Brief redis monitoring in django admin
Project description
Redis monitoring drop-in application using django admin.
Features
Sever statistics in the admin changelist
Key summary in the inspect view
Value introspection with pagination for lists and sorted sets
Requirements
Django 1.3
py-redis
Installation guide
Install from pypi, with pip:
pip install django-redisboard
Or with setuptools:
easy_install django-redisboard
Add redisboard to INSTALLED_APPS:
INSTALLED_APPS += ("redisboard", )
After that you need to run:
manage.py syncdb
Or if you use south you can migrate this app:
manage.py migrate redisboard
Then you can add redis servers in the admin. You will see the stats in the changelist.
Redisboard has few css tweaks for the pages (they are optional). If you use staticfiles just run:
manage.py collectstatic
If you do not use django.contrib.staticfiles you must manually symlink the site-packages/redisboard/static/redisboard dir to <your media root>/redisboard.
Optional django settings
REDISBOARD_DETAIL_FILTERS
REDISBOARD_DETAIL_FILTERS - a list of regular expressions to match against the keys in the server details colum. Eg, to only show uptime and list of active databases:
REDISBOARD_DETAIL_FILTERS = ['uptime.*', 'db.*']
To show all the details just use:
REDISBOARD_DETAIL_FILTERS = ['.*']
REDISBOARD_ITEMS_PER_PAGE
REDISBOARD_ITEMS_PER_PAGE - default 1000. Used for paginating the items from a list or a sorted set.
Screenshots
Changelist:
Inspect page:
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
File details
Details for the file django-redisboard-0.2.3.tar.gz
.
File metadata
- Download URL: django-redisboard-0.2.3.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fb5732bbe7111c4528f196e0c82415a6262db5c83ff0c2fb2bb77f8c858e42c |
|
MD5 | 068d327d6eb9d34072ac775134c3412c |
|
BLAKE2b-256 | 18de7dcd417ce52cd36027a8d47215de5b587053e12aa394bfcbf5cb6a7761c1 |