随笔分类 - Prometheus
监控系统 K8S
摘要:1.1 ) 保证系统安装了 sendmail: 1.1.1 ) yum install sendmail -y 1.1.2 ) echo 'test' | mail -s '主题' XXXX@qq.com 1.2 ) 下载altermanager: cd /data/src wget https:/
阅读全文
摘要:服务发现方式: #Prometheus数据源的配置主要分为静态配置和动态发现, 常用的为以下几类: static_configs: #静态服务发现 file_sd_configs: #文件服务发现 dns_sd_configs: DNS #服务发现 kubernetes_sd_configs: #K
阅读全文
摘要:。。。。。。 略过Prometheus的安装 1 ) 基于文件的服务发现是仅仅略优于静态配置的服务发现方式, 它不依赖于任何平台或者第三方服务, 因为也是最为简单和通用的方式. 1.1 文件使用Json和YAML 格式,它含有定义的Target列表,以及可选的标签信息. 1.2 下面第一个配置,能够
阅读全文
摘要:1 ) 下载 mysqld_exporter : wget https://github.com/prometheus/mysqld_exporter/releases/download/v0.12.1/mysqld_exporter-0.12.1.linux-amd64.tar.gz tar -z
阅读全文
摘要:1 ) Prometheus Server 端安装 # 1.1 ) Promethrus Server 端下载: cd /data/src/ wget https://github.com/prometheus/prometheus/releases/download/v2.23.0/prometh
阅读全文
摘要:Prometheus 监控Redis需要用到redis_exporter客户端, Prometheus → redis_exporter这个模式, 类似监控Mysql 一个思路. 1 ) 设置系统代理,golang有可能被墙,导致编译失败. # Enable the go modules featu
阅读全文