💻 A very simple redis monitor based on Flask and React. 一个部署简单的 redis 监控程序,使用 Flask 和 React 完成。
JavaScript Python HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app add absolute import Mar 8, 2017
doc init Dec 8, 2016
.flake8 py3.* supported Dec 15, 2016
.gitattributes init Dec 8, 2016
.gitignore init Dec 8, 2016
.travis.yml update travis.yml v1.0.2 Dec 15, 2016
LICENSE add absolute import Mar 8, 2017
MANIFEST.in add absolute import Mar 8, 2017
README.md Update README.md Dec 12, 2016
README_zh.md update readme Dec 8, 2016
manage.py add absolute import Mar 8, 2017
package.json init Dec 8, 2016
setup.py add absolute import Mar 8, 2017
webpack.config.js add absolute import Mar 8, 2017

README.md

redis-monitor

A web visualization redis monitoring program. Performance optimized and very easy to install and deploy, base on Flask and sqlite. the monitor data come from redis.info().

点击查看中文说明文档 Latest Stable Version Build Status

What

The monitor data include:

  • the redis server infomation [redis.info()], include redis version, online time, online time, os version and information, and so on.
  • realtime cmd exec infomation, such as ops, connected count, and so on.
  • realtime gragh of the connect time.
  • realtime gragh of ops.
  • realtime gragh of cpu and mem usage.
  • some simple operate, such as flushdb and add key-velue.
  • redis role, include master and slaves.

Why

There are so many redis monitor code in github, why do this?

Because I clone so many program, but all exist difficult, cause by below:

  • My kownleage is pool.
  • The config not easy, I have do many thing to run the code, and I need to rewrite some code on my dev environment.
  • Incompatible versions, I can run to monitor redis 2.6, but not work with 2.8.
  • Start up not easy, some project, I need to run a data collection process, and a web process.
  • Performance Loss, when I open 10 browser tab, the monitor of other projects can exec 10 command per second.

How to Use ?

  1. Install redis-monitor

    pip install redis-monitor

  2. Init config & db

    redis-monitor init

  3. start webserver

    redis-monitor start

Then visit 127.0.0.1:9527(Port: LZSB,Can you get ?), OK!

screenshot

  • basic information

shot_1

  • connection time gragh

shot_2

  • ops time gragh

shot_3

  • cpu and mem gragh

shot_4

LICENSE

MIT @hustcc