1.聚合运算
- sum()
- count()
- avg()
- min()
- max()
2.数学运算
- +
- -
- *
- /
- % 取模
- ^
3.常用符号
- = 等于
- =~ 模糊查询
#统计所有以"-pa-mgr-prometheus"结尾的指标的数量
count(process_update_seconds{namespace="afp",service=".*-pa-mgr-prometheus$"})
愿你走出半生,归来仍是少年!
#统计所有以"-pa-mgr-prometheus"结尾的指标的数量
count(process_update_seconds{namespace="afp",service=".*-pa-mgr-prometheus$"})
愿你走出半生,归来仍是少年!
暂无评论
2023-12-04
2023-12-04
2023-11-30
2023-11-30
2023-11-30
2023-11-30
2023-11-08
2023-11-08
2024-05-20
2024-05-20
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-18
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17