summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorRory&::Emma <root@rory.gay>2024-12-04 16:16:50 +0000
committerRory&::Emma <root@rory.gay>2024-12-04 16:16:50 +0000
commitb8178554dcc91ba0510a4962c63e6ea87b476171 (patch)
tree19378c3074e51c40a044d880d0af9f1e457dbecc /modules
parentAdd Lix, fix desktop, fix Rider (diff)
downloadRory-Open-Architecture-b8178554dcc91ba0510a4962c63e6ea87b476171.tar.xz
Server changes
Diffstat (limited to 'modules')
-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..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;