From 53afc2a87d9ef78039e488817650583be846a14c Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 6 Apr 2023 13:54:52 +0200 Subject: Fix prometheus flags --- host/Spacebar-monitoring/configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host') diff --git a/host/Spacebar-monitoring/configuration.nix b/host/Spacebar-monitoring/configuration.nix index 5ea542a..436dc47 100755 --- a/host/Spacebar-monitoring/configuration.nix +++ b/host/Spacebar-monitoring/configuration.nix @@ -22,9 +22,8 @@ prometheus = { enable = true; stateDir = "prometheus"; + retentionTime = "1y"; extraFlags = [ - "--storage.tsdb.retention.time=1y" - "--storage.tsdb.path=/var/lib/prometheus/" ]; # alertmanagerURL = [ "http://localhost:9093" ]; # rules = [ -- cgit 1.4.1