mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-14 15:34:00 -08:00
docs/node-mixin/alerts: use a rate for network alerts
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
parent
306a365377
commit
d7cbe85d22
|
@ -159,7 +159,7 @@
|
||||||
{
|
{
|
||||||
alert: 'NodeNetworkReceiveErrs',
|
alert: 'NodeNetworkReceiveErrs',
|
||||||
expr: |||
|
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,
|
||| % $._config,
|
||||||
'for': '1h',
|
'for': '1h',
|
||||||
labels: {
|
labels: {
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
{
|
{
|
||||||
alert: 'NodeNetworkTransmitErrs',
|
alert: 'NodeNetworkTransmitErrs',
|
||||||
expr: |||
|
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,
|
||| % $._config,
|
||||||
'for': '1h',
|
'for': '1h',
|
||||||
labels: {
|
labels: {
|
||||||
|
|
Loading…
Reference in a new issue