随笔分类 - prometheus
摘要:Prometheus 监控linux服务器 node_exporter:用于*NIX系统监控,使用Go语言编写的收集器。 使用版本 node_exporter 0.17.0 相关文档 使用文档:https://prometheus.io/docs/guides/node-exporter/ GitH
阅读全文
摘要:Prometheus 重新标签 允许在采集之前对任何目标及其标签进行修改 • 重命名标签名 • 删除标签 • 过滤目标 action:重新标签动作 replace:默认,通过regex匹配source_label的值,使用replacement来引用表达式匹配的分组 keep:删除regex与连接不
阅读全文
摘要:Prometheus 配置采集目标 1、根据配置的任务(job)以http/s周期性的收刮(scrape/pull)2、指定目标(target)上的指标(metric)。目标(target)3、可以以静态方式或者自动发现方式指定。Prometheus将收刮(scrape)的指标(metric)保存在
阅读全文
摘要:Prometheus PromSQL 常用资源 PromSQL 使用 运算 乘:* 除:/ 加:+ 减:- 函数 sum() 函数:求出找到所有value的值 irate() 函数:统计平均速率 by (标签名) 范围匹配 # 5分钟之内 [5m] 其他用法 被监控指标的状态、1为正常、0为不正常
阅读全文
摘要:Prometheus 配置文件详解 官方文档:https://prometheus.io/docs/prometheus/latest/configuration/configuration/ 指标说明 1、Prometheus以scrape_interval规则周期性从监控目标上收集数据,然后将数
阅读全文
摘要:Prometheus 安装部署 安装版本:prometheus-2.6.1 百度云下载:https://pan.baidu.com/s/1w16lQZKw8PCHqlRuSK2i7A 提取码:lw1q 二进制安装部署 1、下载二进制包:prometheus-2.6.1.linux-amd64.tar
阅读全文
摘要:Prometheus 介绍 Prometheus(普罗米修斯)是一个最初在SoundCloud上构建的监控系统。自2012年成为社区开源项目,拥有非常活跃的开发人员和用户社区。为强调开源及独立维护,Prometheus于2016年加入云原生云计算基金会(CNCF),成为继Kubernetes之后的第
阅读全文