mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
decrease cpu usage
This commit is contained in:
parent
ac2678fcdd
commit
f3326c4310
1 changed files with 4 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ in
|
||||||
services.cadvisor = {
|
services.cadvisor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
listenAddress = "0.0.0.0";
|
listenAddress = "0.0.0.0";
|
||||||
|
extraOptions = [
|
||||||
|
# significantly decreases CPU usage (https://github.com/google/cadvisor/issues/2523)
|
||||||
|
"--housekeeping_interval=30s"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
services.promtail = {
|
services.promtail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue