django-redisboard 1.2.1

Redis monitoring and inspection drop-in application using django admin.
docs
tests
package

Redis monitoring and inspection drop-in application using django admin.

  • Free software: BSD license

Features

  • Sever statistics in the admin changelist
  • Key summary in the inspect view
  • Value introspection with pagination for lists and sorted sets

Requirements

OS:Any
Runtime:Python 2.7, 3.4, 3.4 or PyPy
Services:Redis 2.2 or later.
Packages:Django>=1.3, py-redis>=2.10.0

Don't have a django project ?

Use the quick start script ! It will create and run a django project on 0.0.0.0:8000 with just the redisboard installed.

With curl:

curl -L https://raw.github.com/ionelmc/django-redisboard/master/run_redisboard.py | tee run_redisboard.py | sh -e

With wget:

wget --no-check-certificate https://raw.github.com/ionelmc/django-redisboard/master/run_redisboard.py -O - | tee run_redisboard.py | sh -e

Don't want to run on 0.0.0.0:8000 ? Run:

./run_redisboard.py ip:port

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 100. Used for paginating the items from a list or a sorted set.

REDISBOARD_SOCKET_TIMEOUT

REDISBOARD_SOCKET_TIMEOUT - default None. Socket operations time out after this many seconds.

REDISBOARD_SOCKET_CONNECT_TIMEOUT

REDISBOARD_SOCKET_CONNECT_TIMEOUT - default None. Socket connect operation times out after this many seconds.

REDISBOARD_SOCKET_KEEPALIVE

REDISBOARD_SOCKET_KEEPALIVE - default None. Enables or Disables socket keepalive.

REDISBOARD_SOCKET_KEEPALIVE_OPTIONS

REDISBOARD_SOCKET_KEEPALIVE_OPTIONS - default None. Additional options for socket keepalive.

Screenshots

Changelist:

Inspect:

Inspect key details:

Development

To run the all tests run:

tox

Changelog

1.2.1 (2015-06-30)

  • Fixed a bug on Python 3 (no xrange).
  • Fixed some issues the run_redisboard.py bootstrapper had with virtualenv.

1.2.0 (2015-02-21)

  • Add REDISBOARD_SOCKET_TIMEOUT, REDISBOARD_SOCKET_CONNECT_TIMEOUT, REDISBOARD_SOCKET_KEEPALIVE and REDISBOARD_SOCKET_KEEPALIVE_OPTIONS options.

1.1.0 (2015-01-21)

  • Fix broken slowlog display.

1.0.0 (2014-12-10)

  • Show slowlog and cpu usage and more memory stats (contributed by Rick van Hattem)
  • Use pipelines to send commands for faster response (contributed by Rick van Hattem)
  • Added Python 3.3 and 3.4 support.
  • Added a test suite and other minor fixes.

0.2.7 (?)

  • N/A.
BSD

Author

Ionel Cristian Mărieș

Pip

django-redisboard==1.2.1

Classifiers

  • Development Status :: 5 - Production/Stable
  • Framework :: Django
  • Intended Audience :: Developers
  • Programming Language :: Python
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • Topic :: Utilities
  • License :: OSI Approved :: BSD License
  • Programming Language :: Python :: Implementation :: CPython
  • Programming Language :: Python :: Implementation :: PyPy
  • Operating System :: Microsoft :: Windows
  • Operating System :: POSIX
  • Operating System :: Unix
  • Topic :: Internet :: WWW/HTTP

Requirements

File Type Python Version Uploaded On Downloads
django_redisboard-1.2.1-py2.py3-none-any.whl Wheel py2.py3 June 30, 2015 541
django-redisboard-1.2.1.tar.gz Source June 30, 2015 2,096
Version Release Date
1.2.1 June 30, 2015
1.2.0 Feb. 20, 2015
1.1.0 Jan. 21, 2015
1.0.0 Dec. 10, 2014
0.2.7 Oct. 24, 2013
0.2.6 Oct. 24, 2013
0.2.5 Feb. 17, 2012
0.2.4 Dec. 29, 2011
0.2.3 Dec. 29, 2011
0.2.2 Dec. 29, 2011
0.2.1 Nov. 7, 2011
0.2 Nov. 5, 2011
0.1 Nov. 1, 2011
Date Package Version Action
Aug. 26, 2015, 12:22 a.m. django-redisboard 1.2.1 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 1.2.0 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.2 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.3 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.4 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.5 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.6 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.7 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.1 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 0.2.1 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 1.0.0 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard 1.1.0 Release Created
Aug. 26, 2015, 12:22 a.m. django-redisboard Package Created