Prometheus + Grafana 使用 redis_exporter 监控 Redis
Prometheus Exporters:https://prometheus.io/docs/instrumenting/exporters/
redis_exporter:https://github.com/oliver006/redis_exporter
Grafana Dashboard:https://grafana.com/grafana/dashboards/763
redis_exporter部署
$ go get github.com/oliver006/redis_exporter
$ cd $GOPATH/src/github.com/oliver006/redis_exporter
$ go build
$ ./redis_exporter <--redis.address> <--redis.password>
Prometheus配置
- job_name: redis_exporter
static_configs:
- targets: ['192.168.165.242:9121']
labels:
instance: redis
group: inner
版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/25/prometheus-grafana-using-redis-exporter-monitoring-redis/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
打赏
海报
Prometheus + Grafana 使用 redis_exporter 监控 Redis
Prometheus Exporters:https://prometheus.io/docs/instrumenting/exporters/
redis_exporter:https://github.com/oliver006/redis_exporter
Grafana Dashbo……
文章目录
关闭
共有 0 条评论