summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
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 = [