当前位置:网站首页>Prometheus's Recording rules practice
Prometheus's Recording rules practice
2022-08-01 18:20:00 【leboop-L】
Recording rules official document
As shown:


The contents of recording_rules.yml are as follows:
groups:- name: my_first_recording_rulerules:- record: node_cpu_total_used_rateexpr: (1 - sum(increase(node_cpu_seconds_total{mode="idle"}[1m])) by (instance_id) / sum(increase(node_cpu_seconds_total[1m])) by (instance_id) ) * 100prometheus.yml configuration recording rules file path:

You can view, the indicators have been pre-calculated, as shown in the figure:

边栏推荐
- 【Day_09 0427】走方格的方案数
- What is the JVM runtime data area and the JMM memory model
- Basic image processing in opencv
- Zabbix6.0 DingTalk robot alarm
- The function realization of the national standard GB28181 protocol EasyGBS platform compatible with the old version of the inflow port
- opencv real-time face detection
- tooltip 控件
- opencv语法Mat类型总结
- Live chat system technology (8) : vivo live IM message module architecture practice in the system
- XAML WPF项目groupBox控件
猜你喜欢
随机推荐
SQL function TO_DATE (2)
opencv基本的图像处理
How opencv implements image skew correction
Go GORM transaction instance analysis
B005 - STC8 based single chip microcomputer intelligent street light control system
Zabbix6.0钉钉机器人告警
What is the implementation principle of Go iota keyword and enumeration type
LeetCode 0152. 乘积最大子数组:dp + 原地滚动
WinRAR | 将多个安装程序生成一个安装程序
golang json returns null
Clip-on multimeter use method, how to measure the voltage, current, resistance?
2022年 PHP面试问题记录
C#/VB.NET:从 PDF 文档中提取所有表格
直播系统聊天技术(八):vivo直播系统中IM消息模块的架构实践
金鱼哥RHCA回忆录:CL210管理OPENSTACK网络--网络配置选项
【Day_09 0427】走方格的方案数
基于flowable的upp(统一流程平台)运行性能优化
Break the performance ceiling!AsiaInfo database supports more than 1 billion users, with a peak of one million transactions per second
Stop using MySQL online DDL
三维空间中点的插值









