prometheus+grafana监控redis
prometheus+grafana监控redis
redis安装配置
https://www.cnblogs.com/autohome7390/p/6433956.html
redis_exporter 安装
cd /usr/src
wget https://github.com/oliver006/redis_exporter/releases/download/v0.21.2/redis_exporter-v0.21.2.linux-amd64.tar.gz
tar xf redis_exporter-v0.21.2.linux-amd64.tar.gz -C /usr/local/redis_exporter/
cd /usr/local/redis_exporter./redis_exporter redis//192.168.6.104:6379 &
prometheus配置
grafana配置
主题下载地址:https://grafana.com/api/dashboards/2751/revisions/1/download
其他主题下载地址:https://grafana.com/grafana/dashboards
下载好主题后进行主题导入即可。
学以致用,只争朝夕,不负韶华。