Prometheus 监控 Redis
前言
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, and 5.x
Prometheus 监控 Redis更新历史
2019年03月23日 - 初稿
阅读原文 - https://wsgzao.github.io/post...
扩展阅读
redis_exporter - https://github.com/oliver006/...
Redis export 安装和使用
# 下载redis_exporter https://github.com/oliver006/redis_exporter/releases cd /tmp 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 # 后台启动redis_exporter nohup ./redis_exporter -redis.addr redis://<IP>:<PORT> & # iptables rule for Prometheus Redis -A INPUT -s xxx -p tcp --dport 9121 -j ACCEPT # 测试URL获取metrics curl http://<IP>:9121/metrics
Grafana
Memory Usage 中 redis_config_maxmemory 如果无法获取到数据请自行定义 valuehttps://grafana.com/dashboard...
参考文献
相关推荐
王道革 2020-11-25
wangdonghello 2020-11-03
Langeldep 2020-11-16
chenhualong0 2020-11-16
聚合室 2020-11-16
koushr 2020-11-12
MRFENGG 2020-11-11
guoyanga 2020-11-10
fackyou00 2020-11-10
Orangesss 2020-11-03
dongCSDN 2020-10-31
rainandtear 2020-10-30
Quietboy 2020-10-30
liuyulong 2020-10-29
fansili 2020-10-29
温攀峰 2020-10-23
jackbon 2020-10-19
kaixinfelix 2020-10-04