随笔分类 - Prometheus
摘要:###一、背景介绍 公司采用prometheus作为监控平台,经过资料查找,mysqld_exporter和mysql是[1:1],既每个mysql实例都需要起一个exporter进程来采集mysql监控数据,不过最近看github文档关注到mysqld_exporter已经开始支持[1:n],即单
阅读全文
摘要:1.主机及服务存活状态设置报警 2.内存使用率设置报警 3.cpu繁忙百分比设置报警 4.cpu iowait报警 5.disk 使用率百分比报警 6.网卡流量监控 ###1.主机及服务存活状态设置报警 1.1定义主机标签 - job_name: pre-yzfs-node-47.100.70.42
阅读全文
摘要:1.node_exporter介绍 2.二进制部署node_exporter 3.docker部署node_exporter ###1.node_exporter介绍 Node-exporter 可以采集机器(物理机、虚拟机、云主机)的监控指标数据,能够采集到的指标包括cpu、内存、磁盘、网络、文件
阅读全文
摘要:1.Prometheus监控cpu构思 2.函数rate() 3.函数irate() 4.函数rate()及irate()区别 5.函数increase() 6.函数sum() 7.函数by 8.topk() 9.count() ###1.Prometheus监控cpu构思 %Cpu(s): 2.2
阅读全文
摘要:1.Relabeling 标签重写介绍 2.relabel功能详解 3.标签增删改查 3.1使用keep对标签值进行匹配保留regex的targets 3.2使用drop对标签值进行匹配删除regex的targets 3.3使用droplabel对标签名进行匹配并删除 3.4修改标签的名称 3.5修
阅读全文
摘要:1.运维的主要职责 2.监控的作用 3.Prometheus优点 4.监控的范围 5.Prometheus使用 6.Prometheus介绍 7.Prometheus数据介绍 7.1 Prometheus数据介绍 7.2 Prometheus数据类型介绍 7.2.1 Gauges 动态数据类型 7.
阅读全文
浙公网安备 33010602011771号