diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-04-06 13:54:52 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-05 17:25:16 +0200 |
commit | 53afc2a87d9ef78039e488817650583be846a14c (patch) | |
tree | 928417702cb5e319760a747f6388c1c219ab3af0 | |
parent | Fix duplicate prop (diff) | |
download | Spacebar-Open-Infrastructure-53afc2a87d9ef78039e488817650583be846a14c.tar.xz |
Fix prometheus flags
-rwxr-xr-x | host/Spacebar-monitoring/configuration.nix | 3 |
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 = [ |