From b8178554dcc91ba0510a4962c63e6ea87b476171 Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Wed, 4 Dec 2024 16:16:50 +0000 Subject: Server changes --- modules/monitoring/module.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/monitoring/module.nix') diff --git a/modules/monitoring/module.nix b/modules/monitoring/module.nix index 62ff1ea..c8d1d61 100644 --- a/modules/monitoring/module.nix +++ b/modules/monitoring/module.nix @@ -40,7 +40,13 @@ in prometheus = lib.mkIf (cfg.localPrometheus) { enable = true; listenAddress = "127.0.0.1"; - extraFlags = [ "--storage.tsdb.wal-compression" ]; + extraFlags = [ + "--storage.tsdb.wal-compression" + "--query.max-concurrency 128" + "--rules.max-concurrent-evals 64" + "--storage.tsdb.retention.size 250GB" + "--enable-feature concurrent-rule-eval" + ]; }; grafana = lib.mkIf (cfg.localGrafana) { enable = true; -- cgit 1.5.1