Prometheus

2024-05-20#Prometheus

匹配“以 sys 开头,到不以 .dev 结尾”的文本 🔗

对于同一个标签名,可以指定多个匹配器;此时,多个匹配器必须同时满足。

Multiple matchers can be used for the same label name; they all must pass for a result to be returned.

metric_name{label_name=~"^sys.*", label_name!~".*dev$"}

加载中...