Neo's Blog

不抽象就无法深入思考
不还原就看不到本来面目!

0%

工作杂谈系列-普罗米修斯常用查询

普罗米修斯字符串匹配查询语法:

=: Select labels that are exactly equal to the provided string.
!=: Select labels that are not equal to the provided string.
=~: Select labels that regex-match the provided string.
!~: Select labels that do not regex-match the provided string.

具体可以看这里:
https://prometheus.io/docs/prometheus/latest/querying/basics/

你的支持是我坚持的最大动力!