summary refs log tree commit diff
path: root/modules/monitoring/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/monitoring/module.nix')
-rw-r--r--modules/monitoring/module.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/monitoring/module.nix b/modules/monitoring/module.nix

index 62ff1ea..f47c483 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;