summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-11 08:56:11 +0200
committerMartin Fischer <martin@push-f.com>2025-06-11 08:56:11 +0200
commitee79a3b20c35f4997c2703adea9aa561b1a51470 (patch)
treeb43995d81168e236f60fa1d688ac502ebe709bd1
parentf1fef7c7a200d8c3e9d8b3b171f4b0429d183433 (diff)
tweak(tente): set prometheus retention time to 1 yearHEADmaster
-rw-r--r--nixos/hosts/tente/monitoring.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/hosts/tente/monitoring.nix b/nixos/hosts/tente/monitoring.nix
index eaddacb..545ae24 100644
--- a/nixos/hosts/tente/monitoring.nix
+++ b/nixos/hosts/tente/monitoring.nix
@@ -57,6 +57,8 @@ in
services.prometheus = {
enable = true;
+ retentionTime = "1y";
+
scrapeConfigs = [
{
job_name = "node";