步骤一:安装grafana、Prometheus '点这里点这里’✔
步骤二:服务器安装并启动redis_exporter
wget https://github.com/oliver006/redis_exporter/releases/download/v0.30.0/redis_exporter-v0.30.0.linux-amd64.tar.gz
tar xf redis_exporter-v0.30.0.linux-amd64.tar.gz
cd redis_exporter-v0.30.0.linux-amd64
./redis_exporter -redis.addr ********:**** -redis.password ******
步骤三:配置Prometheus.yml文件,添加redis服务器配置。默认端口9913