another redis monitor by using flask, react, vite, socket.io
we use redis info
to monitor the redis usage. PAPA means a father who is monitoring the redis.
accoding to the redis doc, it is be recommanded to use
info
other thanmonitor
.
================
cd backend && pip3 install -r requirements.txt
config.py
and make your own configure accoding to your redis servers.['ip:port:password', 'ip:port', .....]
python3 run.py
, then you can watch it in http://127.0.0.1:5000
gunicorn --worker-class socketio.sgunicorn.GeventSocketIOWorker run:app -b 0.0.0.0:5000
cd frontend && yarn install
yarn dev
docker support: you can pull the docker image of redispapa from docker hub
docker pull sinchb/redispapa
to start a redispapa instance with default settings:
docker run -p 5000:5000 sinchb/redispapa
If you want to use your own config.py:
docker run -p 5000:5000 -v /path/to/config.py:/root/redispapa/config.py sinchb/redispapa
If you want to build your own docker image, please clone this repo, and run:
cd /path/to/your/redispapa/
docker build -t=your-redispapa-tag .
set
in command input box
, and type a, papapa
in args input box
or you can type get
in command input box
, and type a
in `args input box. Then you can get the result
from the redis server.supply kinds of information of redis server