fuuko/prometheus: Actually show node name in alerts

pull/52/head
Simon Bruder 2021-04-04 14:34:44 +02:00
parent 37f95b3d79
commit c26539e607
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 2 additions and 2 deletions

View File

@ -140,13 +140,13 @@ in
name = "NodeHighLoad";
expr = ''sum by (instance) (node_load15) / count by (instance) (node_cpu_seconds_total{mode="system"}) > 2'';
for = "15m";
description = "This node is having a per-core load 2 for the last 15 minutes.";
description = "Node {{ $labels.instance }} is having a per-core load 2 for the last 15 minutes.";
}
{
name = "NodeHighMemory";
expr = ''(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes > 0.9'';
for = "2m";
description = "This node is using more than 90% of available RAM.";
description = "Node {{ $labels.instance }} is using more than 90% of available RAM.";
}
{
name = "TP440ACPIBroken";