From f50259785faf626d3bfadb978b442b0eec572aab Mon Sep 17 00:00:00 2001 From: Tristan Druyen Date: Sun, 17 Nov 2024 21:46:34 +0100 Subject: [PATCH] Refactor netdata/client.nix --- os-mods/netdata/client.nix | 4 ++-- os-mods/netdata/default.nix | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/os-mods/netdata/client.nix b/os-mods/netdata/client.nix index a22e9bd..5f7fb86 100644 --- a/os-mods/netdata/client.nix +++ b/os-mods/netdata/client.nix @@ -29,13 +29,13 @@ }; config = { global = { - # uncomment to reduce memory to 32 MB "page cache size" = 32; # update interval "update every" = 2; }; db = { + # relatively minimal storage conf, as replicate target should save most of the history "update every" = 2; "storage tiers" = 3; "dbengine multihost disk space MB" = 256; @@ -50,7 +50,7 @@ "mode" = "none"; }; ml = { - # enable machine learning + # disable machine learning, can happen on repl target "enabled" = "no"; }; }; diff --git a/os-mods/netdata/default.nix b/os-mods/netdata/default.nix index 542532e..10189de 100644 --- a/os-mods/netdata/default.nix +++ b/os-mods/netdata/default.nix @@ -22,9 +22,6 @@ config = { global = { - # uncomment to reduce memory to 32 MB - #"page cache size" = 32; - # update interval "update every" = 2; };