Skip to content

Commit 3c2084d

Browse files
committed
Filter out interfaces that don't matter for packet drops
OVS interfaces drop packets during normal operation, generating lots of spurious alerts.
1 parent 9f6c4ef commit 3c2084d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/kayobe/kolla/config/prometheus/ceph.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ groups:
139139

140140
# alert on nic packet errors and drops rates > alertmanager_packet_drop_threshold packet/s
141141
- alert: NetworkPacketsDropped
142-
expr: irate(node_network_receive_drop_total{device!~"lo|br.*|.*-ovs|tap.*"}[5m]) + irate(node_network_transmit_drop_total{device!~"lo|br.*|.*-ovs|tap.*"}[5m]) > {% endraw %}{{ alertmanager_packet_drop_threshold }}{% raw %}
142+
expr: irate(node_network_receive_drop_total{device!~"lo|br.*|.*-ovs|tap.*|ha.*|qc.*|qr.*|qg.*"}[5m]) + irate(node_network_transmit_drop_total{device!~"lo|br.*|.*-ovs|tap.*|ha.*|qc.*|qr.*|qg.*"}[5m]) > {% endraw %}{{ alertmanager_packet_drop_threshold }}{% raw %}
143143
labels:
144144
severity: warning
145145
annotations:

0 commit comments

Comments
 (0)