我有 2 个用于 2 个 VM 组的规则文件。
在每个规则文件中有host_response_time_is_high_via_icmp alert:
- alert: host_response_time_is_high_via_icmp
expr: sum by (instance) (probe_icmp_duration_seconds) > 0.3
for: 10s
labels:
severity: warning
annotations:
description: "Host {{ $labels.instance }} response time via icmp-protocol is very high ( >300ms ) for more than 1 minutes."
summary: "Host {{ $labels.instance }} response time is {{ humanize $value}}s"
我测试警报(更改响应时间)并遇到奇怪的事情。当我必须收到 2 个 VM 组的警报时 - 我只收到 1 个组的警报。我做错了什么? 谢谢!