随笔- 310  文章- 1  评论- 0  阅读- 85655 

随笔分类 -  prometheus

普罗米修斯
blackbox exporter
摘要:什么是黑盒监控 我们监控主机的资源用量、容器的运行状态、数据库中间件的运行数据。这些都是支持业务和服务的基础设施,通过白盒能够了解其内部的实际运行状态,通过对监控指标的观察能够预判可能出现的问题,从而对潜在的不确定因素进行优化。 而从完整的监控逻辑的角度,除了大量的应用白盒监控以外,还应该添加适当的 阅读全文
posted @ 2023-08-02 16:49 boye169 阅读(74) 评论(0) 推荐(0) 编辑
AlertManager
摘要:下载&启动 【下载】 https://prometheus.io/download/ 【启动】 1. cd D:\Program Files\alertmanager-0.24.0.windows-amd64 2. 双击 alertmanager.exe 3.访问 http://localhost: 阅读全文
posted @ 2023-05-16 09:29 boye169 阅读(71) 评论(0) 推荐(0) 编辑
prometheus api
摘要:1、/api/v1/query(GET/POST) 即时查询,使用参数如下: - query=<查询语句> - time=<rfc3339 | unix_timestamp>时间戳,可选项 - timeout=<duration>: 超时时间,-query.timeout限制,可选项 若time不给 阅读全文
posted @ 2023-05-16 09:19 boye169 阅读(88) 评论(0) 推荐(0) 编辑
mtail 日志采集
摘要:支持else与otherwise /foo/ { ACTION1 } else { ACTION2 } 支持嵌套 /foo/ { /foo1/ { ACTION1 } /foo2/ { ACTION2 } otherwise { ACTION3 } } 支持命名与非命名提取 /(?P<operati 阅读全文
posted @ 2023-03-21 10:47 boye169 阅读(118) 评论(0) 推荐(0) 编辑
PromQL 语法
摘要:文档:https://yunlzheng.gitbook.io/prometheus-book/parti-prometheus-ji-chu/promql/what-is-prometheus-metrics-and-labels https://dandelioncloud.cn/article 阅读全文
posted @ 2023-01-13 16:45 boye169 阅读(325) 评论(0) 推荐(0) 编辑
pushgateway 下载安装
摘要:下载 https://github.com/prometheus/pushgateway/releases curl https://github.com/prometheus/pushgateway/releases/download/v1.2.0/pushgateway-1.2.0.linux- 阅读全文
posted @ 2023-01-10 16:21 boye169 阅读(302) 评论(0) 推荐(0) 编辑
prometheus 普罗米修斯安装
摘要:下载 https://prometheus.io/download/ 安装、启动 wget https://github.com/prometheus/prometheus/releases/download/v2.40.6/prometheus-2.40.6.linux-amd64.tar.gz 阅读全文
posted @ 2022-12-14 11:31 boye169 阅读(55) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示