summaryrefslogtreecommitdiff
path: root/nixos/hosts/tente
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-16 16:25:48 +0200
commit363374c2656ceabd3a63ccd666905817c0dfb818 (patch)
tree3b24d175bebe546ed018863748fdc6e1fb0ff5a4 /nixos/hosts/tente
parent0f171569d25ee3827bee035fc2d244d0f89ca296 (diff)
tweak(tente): set prometheus retention time to 1 year
Diffstat (limited to 'nixos/hosts/tente')
-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";