Refactor netdata/client.nix
This commit is contained in:
parent
88e1845285
commit
f50259785f
2 changed files with 2 additions and 5 deletions
|
@ -29,13 +29,13 @@
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
global = {
|
global = {
|
||||||
# uncomment to reduce memory to 32 MB
|
|
||||||
"page cache size" = 32;
|
"page cache size" = 32;
|
||||||
|
|
||||||
# update interval
|
# update interval
|
||||||
"update every" = 2;
|
"update every" = 2;
|
||||||
};
|
};
|
||||||
db = {
|
db = {
|
||||||
|
# relatively minimal storage conf, as replicate target should save most of the history
|
||||||
"update every" = 2;
|
"update every" = 2;
|
||||||
"storage tiers" = 3;
|
"storage tiers" = 3;
|
||||||
"dbengine multihost disk space MB" = 256;
|
"dbengine multihost disk space MB" = 256;
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"mode" = "none";
|
"mode" = "none";
|
||||||
};
|
};
|
||||||
ml = {
|
ml = {
|
||||||
# enable machine learning
|
# disable machine learning, can happen on repl target
|
||||||
"enabled" = "no";
|
"enabled" = "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,9 +22,6 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
global = {
|
global = {
|
||||||
# uncomment to reduce memory to 32 MB
|
|
||||||
#"page cache size" = 32;
|
|
||||||
|
|
||||||
# update interval
|
# update interval
|
||||||
"update every" = 2;
|
"update every" = 2;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue