From 55099f188450a0efc3ab5723ff6648a3906a72a2 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 28 Mar 2021 11:04:25 +0200 Subject: [PATCH] fuuko/prometheus: Raise retention time to 90d --- machines/fuuko/services/prometheus.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/fuuko/services/prometheus.nix b/machines/fuuko/services/prometheus.nix index 55e8387..0351c30 100644 --- a/machines/fuuko/services/prometheus.nix +++ b/machines/fuuko/services/prometheus.nix @@ -23,6 +23,9 @@ in scrape_interval = "15s"; evaluation_interval = "15s"; }; + extraFlags = [ + "--storage.tsdb.retention.time=90d" + ]; alertmanagers = [ { static_configs = mkStaticTarget "${cfg.alertmanager.listenAddress}:${toString cfg.alertmanager.port}"; }