From e275c81257c95a3cdc3c12a3f79396a84c4d4ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 8 Nov 2021 10:06:29 +0100 Subject: [PATCH] fix(monitoring): display host name in reboot message --- configs/monitoring/pull.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/monitoring/pull.nix b/configs/monitoring/pull.nix index 3f87eb7..db6c4e0 100644 --- a/configs/monitoring/pull.nix +++ b/configs/monitoring/pull.nix @@ -76,7 +76,7 @@ in { alert = "Reboot"; expr = "time() - node_boot_time_seconds < 300"; - annotations.summary = "{{$labels.alias}}: Reboot"; + annotations.summary = "{{$labels.job}}: Reboot"; } ]; }];