From 0c45a8856191c014cee7435c527c106ce59acf19 Mon Sep 17 00:00:00 2001 From: sinavir Date: Tue, 16 Apr 2024 18:57:18 +0200 Subject: [PATCH] fix: change prometheus retention time --- machines/storage01/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/storage01/prometheus.nix b/machines/storage01/prometheus.nix index 483d131..0e07478 100644 --- a/machines/storage01/prometheus.nix +++ b/machines/storage01/prometheus.nix @@ -38,7 +38,7 @@ in webExternalUrl = "https://${host}"; - retentionTime = "6m"; + retentionTime = "1y"; extraFlags = [ "--storage.tsdb.retention.size=20GB" ];