service/node-exporter: increase nixpkgs_out_date threshold

This commit is contained in:
Felix Buehler 2023-09-10 21:50:53 +02:00
parent 3a48d6b574
commit f19c292a7e

View file

@ -89,8 +89,8 @@ in
my.services.prometheus.rules = { my.services.prometheus.rules = {
nixpkgs_out_of_date = { nixpkgs_out_of_date = {
condition = ''(time() - flake_input_last_modified{input="nixpkgs"}) / (60 * 60 * 24) > 7''; condition = ''(time() - flake_input_last_modified{input="nixpkgs"}) / (60 * 60 * 24) > 14'';
description = "{{$labels.host}}: nixpkgs flake is older than a week"; description = "{{$labels.host}}: nixpkgs flake is older than two weeks";
}; };
# disk space # disk space
filesystem_full_shortly = { filesystem_full_shortly = {