Merge pull request #1861 from paulfantom/network-alerts

docs/node-mixin/alerts: use ratio for network alerts
This commit is contained in:
Björn Rabenstein 2020-10-19 12:14:24 +02:00 committed by GitHub
commit 9c9c636305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {