赞
踩
是一个用于收集 redis 服务的相关信息的工具。
是由前 Google 工程师从 2012 年开始在 Soundcloud 以开源软件的形式进行研发的系统监控和告警工具包。
是一个开源可观察性平台,用于可视化从应用程序收集的指标、日志和跟踪。
下载地址:https://github.com/oliver006/redis_exporter/releases/
redis_exporter.exe -redis.addr 192.168.1.38:6379 -redis.password xxxxxx -web.listen-address :9121
浏览器输入 http://localhost:9121/metrics,可监控 redis_exporter 爬取的数据:
下载地址:https://prometheus.io/download/
在 prometheus.yml 文件中添加一段:
scrape_configs:
- job_name: "redis_exporter"
static_configs:
- targets: ["localhost:9121"]
双击 prometheus.exe 启动:
浏览器输入链接:http://localhost:9090/targets
下载地址:https://grafana.com/grafana/download
下载地址:https://grafana.com/grafana/dashboards/763
将下载的 JSON 文件的内容粘贴至 “Import via panel json” 区,点击【Load】按钮:
效果如下:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。