摘要: Pushgateway 是 Prometheus 生态中一个重要工具,使用它的原因主要是: Prometheus 采用 pull 模式,可能由于不在一个子网或者防火墙原因,导致 Prometheus 无法直接拉取各个 target 数据。 在监控业务数据的时候,需要将不同数据汇总, 由 Promet 阅读全文
posted @ 2019-10-17 18:41 小兵07 阅读(1426) 评论(0) 推荐(0) 编辑
摘要: 何为 Prometheus Exporter? Prometheus 监控基于一个很简单的模型: 主动抓取目标的指标接口(HTTP 协议)获取监控指标, 再存储到本地或远端的时序数据库. Prometheus 对于指标接口有一套固定的格式要求, 格式大致如下: # HELP http_request 阅读全文
posted @ 2019-10-17 18:32 小兵07 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: 下载Prometheus https://prometheus.io/download/ wget https://github.com/prometheus/prometheus/releases/download/v2.12.0/prometheus-2.12.0.linux-amd64.tar 阅读全文
posted @ 2019-10-17 17:15 小兵07 阅读(2636) 评论(0) 推荐(0) 编辑
摘要: Prometheus 章节 1、Prometheus 简介 2、Prometheus 安装与配置 3、Exporter 4、Pushgateway 5、本地存储和远程存储 6、高可用方案 7、报警插件Alertmanager 安装与使用 8、记录规则(recording rules)与告警规则(al 阅读全文
posted @ 2019-10-17 16:49 小兵07 阅读(1300) 评论(0) 推荐(0) 编辑