mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
service/node-exporter: increase nixpkgs_out_date threshold
This commit is contained in:
parent
3a48d6b574
commit
f19c292a7e
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue