Browse Source

docs/node-mixin/alerts: use a rate for network alerts

Signed-off-by: paulfantom <pawel@krupa.net.pl>
pull/1861/head
paulfantom 4 years ago
parent
commit
d7cbe85d22
No known key found for this signature in database
GPG Key ID: 12AE0185401674E7
  1. 4
      docs/node-mixin/alerts/alerts.libsonnet

4
docs/node-mixin/alerts/alerts.libsonnet

@ -159,7 +159,7 @@
{
alert: 'NodeNetworkReceiveErrs',
expr: |||
increase(node_network_receive_errs_total[2m]) > 10
rate(node_network_receive_errs_total[2m]) / rate(node_network_receive_packets_total[2m]) > 0.01
||| % $._config,
'for': '1h',
labels: {
@ -173,7 +173,7 @@
{
alert: 'NodeNetworkTransmitErrs',
expr: |||
increase(node_network_transmit_errs_total[2m]) > 10
rate(node_network_transmit_errs_total[2m]) / rate(node_network_transmit_packets_total[2m]) > 0.01
||| % $._config,
'for': '1h',
labels: {

Loading…
Cancel
Save