Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
/ redboard Public archive

Flask based Redis dashboard embeddable in other Flask apps.

License

Notifications You must be signed in to change notification settings

jmhobbs/redboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redboard is a simple dashboard for Redis.

It's main feature is the fact that you can embed it in other Flask applications through the power of Blueprints.

redboard

Thanks to rq-dashboard for inspiring me to learn how to make that work.

Thanks to RedisLive for some inspiration on what a Redis dashboard should be.

Installing

$ git clone https://github.com/jmhobbs/redboard.git
$ python setup.py install

Running

$ redboard_server.py
* Running on http://127.0.0.1:5000/
...

Monitor

For the graphs to work, you also need to run the monitor. This queries Redis on a one second interval and stores the data for redboard to interpret.

$ redboard_monitor.py
* Running on http://127.0.0.1:5000/
...

Embedding into your Flask app

from flask import Flask
from redboard import RedBoard


app = Flask(__name__)
RedBoard(app)

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == "__main__":
    app.run()

This will create redboard based on the URL /redboard in your Flask app.

About

Flask based Redis dashboard embeddable in other Flask apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages