diff options
Diffstat (limited to 'host')
-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 = [ |