1. 程式人生 > 其它 >Prometheus環境搭建系列(三):監控redis伺服器(redis_exporter)

Prometheus環境搭建系列(三):監控redis伺服器(redis_exporter)

redis叢集環境搭建:https://www.cnblogs.com/uncleyong/p/13196936.html

在需要監控的redis上安裝 node_exporter和redis_exporter

下載

https://github.com/oliver006/redis_exporter/releases

https://github.com/oliver006/redis_exporter/releases/download/v1.8.0/redis_exporter-v1.8.0.linux-amd64.tar.gz

安裝及配置

tar -zxvf redis_exporter-v1.8.0.linux-amd64.tar.gz -C /usr/local/

啟動服務:

./redis_exporter -redis.addr localhost:7001 -redis.password test123

叢集

在prometheus.yml中加入job

單例項(單機)

在prometheus.yml中加入job

  - job_name: 'redis'
    static_configs:
    - targets: ['localhost:9121']

  

4074

最新原文:https://www.cnblogs.com/uncleyong/p/13192458.html

============================= 好好學習 ==========================

> > > 1、諮詢問題,請加作者微信: ren168632201
> > > 2、效能測試從0到實戰: https://www.cnblogs.com/uncleyong/p/12311432.html
> > > 3、自動化測試實戰: https://www.cnblogs.com/uncleyong/p/12016690.html
> > > 4、測試基礎彙總: https://www.cnblogs.com/uncleyong/p/10530261.html
> > > 5、宣告:如有侵權,請聯絡刪除。

============================= 升職加薪 ==========================