summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-06 13:54:52 +0200
committerRory& <root@rory.gay>2024-06-05 17:25:16 +0200
commit53afc2a87d9ef78039e488817650583be846a14c (patch)
tree928417702cb5e319760a747f6388c1c219ab3af0 /host
parentFix duplicate prop (diff)
downloadSpacebar-Open-Infrastructure-53afc2a87d9ef78039e488817650583be846a14c.tar.xz
Fix prometheus flags
Diffstat (limited to 'host')
-rwxr-xr-xhost/Spacebar-monitoring/configuration.nix3
1 files changed, 1 insertions, 2 deletions
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 = [