From 64d479e2ce1c3a05ea293cc68fe7649c85758bc0 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 12 Jul 2021 22:12:03 +0200 Subject: [PATCH] services: prometheus: keep metrics for 2 years --- services/monitoring.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/monitoring.nix b/services/monitoring.nix index 68f1316..2aa66a5 100644 --- a/services/monitoring.nix +++ b/services/monitoring.nix @@ -49,6 +49,8 @@ in { port = 9090; listenAddress = "127.0.0.1"; + retentionTime = "2y"; + exporters = { node = { enable = true;