prometheus与grafana介绍与安装:https://blog.51cto.com/1000682/2361984收集服务器基本信息node-exporter:https://blog.51cto.com/1000682/2361995微信报警altermanger:https://blog.51cto.com/1000682/2362260prometheus的irate和rate区别
分类:
其他好文 时间:
2019-03-14 00:39:32
阅读次数:
132
#(1)修改promethues的configmap文件,添加告警规则1)修改prometheus的configmap,配置告警规则rule_files:-/etc/prometheus/rules.ymlrules.yml:|+groups:-name:noah_pod.rulesrules:-alert:Pod_all_cpu_usageexpr:(sumby(name)(irate(cont
分类:
微信 时间:
2019-03-13 21:39:12
阅读次数:
449
项目中需要监控系统指标,这时候可以使用Prometheus来做。如果是需要监控日志系统,可以使用ELKstack。监控=日志(ELK)+指标(Prometheus)。step1编写springboot2程序<dependency><groupId>org.springframework.boot</groupId><artifactId>spring
分类:
编程语言 时间:
2019-03-11 10:28:34
阅读次数:
417
本文介绍SpringBoot使用蚂蚁金服SOFA Lookout配合Prometheus进行监控。 1.SOFA Lookout介绍 上一篇已经介绍使用Prometheus进行暴露SpringBoot的一些指标进行监控, "传送门" ,这一篇介绍如何使用SOFA Lookout配合Prometheu ...
分类:
编程语言 时间:
2019-03-10 09:32:52
阅读次数:
172
从零搭建Prometheus监控报警系统 什么是Prometheus? Prometheus是由SoundCloud开发的开源监控报警系统和时序列数据库(TSDB)。Prometheus使用Go语言开发,是Google BorgMon监控系统的开源版本。 2016年由Google发起Linux基金会 ...
分类:
其他好文 时间:
2019-03-08 12:35:07
阅读次数:
312
#(1)工作原理node-exporter组件负责收集节点上的metrics监控数据,并将数据推送给prometheus,prometheus负责存储这些数据,grafana将这些数据通过网页以图形的形式展现给用户。#(2)部署node-exporter组件1)node-exporter.yaml文件#catnode-exporter.yaml---apiVersion:extensions/v1
分类:
其他好文 时间:
2019-03-08 09:31:44
阅读次数:
192
1. CPU type: GraphUnit: shortmax: "100"min: "0"Label: PercentageSystem - cpu 在内核模式下执行的进程占比metrics: sum by (mode)(irate(node_cpu_seconds_total{mode="sy ...
分类:
Web程序 时间:
2019-03-05 21:43:25
阅读次数:
322
1. CPU Basic cpu 的基本信息 /proc/stat type: GraphUnit: shortBusy System: cpu 处于核心态的占比metrics: sum by (instance)(rate(node_cpu_seconds_total{mode="system", ...
分类:
其他好文 时间:
2019-03-05 21:41:24
阅读次数:
214
1. Memory Active / Inactive type: GraphUnit: bytesLabel: BytesInactive - 最近使用较少的内存, 优先被回收利用 /proc/meminfo Inactivemetrics: node_memory_Inactive_bytes{ ...
分类:
其他好文 时间:
2019-03-05 21:38:49
阅读次数:
409
1. CPU Busy :收集所有 cpu 内核 busy 状态占比 type: SinglestatUnit: perent(0-100)(所有 cpu使用情况 - 5分钟内 cpu 空闲的平均值) / 所有 cpu使用情况metrics: (((count(count(node_cpu_seco ...
分类:
其他好文 时间:
2019-03-05 21:19:56
阅读次数:
365