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
下載好主題后進行主題導入即可。