• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

RedisFox: Redis可视化监控工具 (基于Golang)

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

RedisFox

开源软件地址:

https://gitee.com/zer0131/RedisFox

开源软件介绍:

RedisFox

Introduction

[Simplified Chinese]

RedisFox is a visual monitoring tool for Redis based on Golang development

redisfox

Instructions

Special description

  • Go version requires >1.12, and use go modlue as package dependency management(The author used Go1.12.9)
  • Run with gosuv driver, currently gosuv only supports Linux
  1. Download RedisFox
git clone https://github.com/zer0131/RedisFox.git
  1. Compile and Install
sh build.sh
  1. Run

Adjustment programs.yml directoryConfigure the redis server in conf/redis-fox.yaml, open redis, and then execute the run.sh script

cd outputsh run.sh start
  1. Visit

Open the browser to access http://127.0.0.1:8080 and see the monitoring status of redis态

  1. Stop
sh run.sh stop

Directory Structure

├─config                 Config directory│  ├─redis-fox.yaml      Config file├─log                    Log directory├─data                   Data directory├─static                 Resource directory├─tpl                    Template directory├─tool                   Tool directory├─conf                   Source Code conf├─dataprovider           Source Code dataprovider├─process                Source Code process├─server                 Source Code server├─util                   Source Code util├─main.go                Source Code main file└─build.sh               Compile and install the script

Configuration Description

Configuration based on yaml syntax, do not understand the stamp herehttp://www.ruanyifeng.com/blog/2016/07/yaml.html

#!The same level of field indentation is the same, and can only be indented with space.#!The relative "-" or ":" must have spaces before each field value value#[Redis service configuration]#redis serverservers: - server: 127.0.0.1   port: 6379   conntype: tcp   password: 123456 #passport#Get redis information interval time (second)sleeptime: 30#The maximum number of connections in the redis connection poolmaxidle: 3#The maximum number of active redis connection pools, 0 unrestrictedmaxactive: 3#The redis connection pool connects the timeout time, and 0 indicates no timeoutidletimeout: 0#Storage data typedatatype: sqlite#Data storage pathdatapath: ./data/redisfox.db#Loglogpath: ./log/logname: redisfox.logloglevel: 4#Webserverip: 127.0.0.1serverport: 8080debugmode: 0#Resourcestaticdir: ./static/tpldir: ./tpl/

Nginx

server {    server_name wwww.xxxx.com;    listen 80; # or 443    # ssl on; Whether to enable encrypted connections    # If you use HTTPS, you also need to fill in ssl_certificate and ssl_certificate_key    location / { # If you want to access the subpath, this is changed to a subpath, pay attention to / begin and end / end        proxy_pass http://127.0.0.1:8080/;    }    access_log  /your-path/nginx/logs/redisfox.log;}

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap