1.下载最新安装包
wget https://github.com/oliver006/redis_exporter/releases/download/v1.0.3/redis_exporter-v1.0.3.linux-amd64.tar.gz
2.解压
tar -xzvf redis_exporter-v1.0.3.linux-amd64.tar.gz
3.删除压缩包
rm redis_exporter-v1.0.3.linux-amd64.tar.gz
4.进入目录
cd redis_exporter-v1.0.3.linux-amd64
3.后台启动
nohup ./redis_exporter -redis.addr localhost:6379 -redis.password yourpwd &
4.访问 http://localhost:9121/metrics
网友评论