Merge pull request 'alerts: alert for uptime after 90 days instead of 30 days' (#199) from alerts-tweak-uptime into main

Reviewed-on: pub-solar/infra#199
Reviewed-by: Hendrik Sokolowski <hensoko@noreply.git.pub.solar>
This commit is contained in:
teutat3s 2024-05-31 14:48:12 +00:00
commit 2b873f8d3e
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -152,8 +152,8 @@ lib.mapAttrsToList
};
uptime = {
condition = "(time() - node_boot_time_seconds ) / (60*60*24) > 30";
description = "Uptime monster: {{$labels.instance}} has been up for more than 30 days.";
condition = "(time() - node_boot_time_seconds ) / (60*60*24) > 90";
description = "Uptime monster: {{$labels.instance}} has been up for more than 90 days.";
};
flake_nixpkgs_outdated = {