From b6ed70a058dcb51f742ccb0b85b120b6360fa5f9 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sat, 27 Jul 2024 02:00:39 +0300 Subject: [PATCH] limit metrics collected by cadvisor --- sp-modules/monitoring/module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/sp-modules/monitoring/module.nix b/sp-modules/monitoring/module.nix index 69fe5e8..5c06e2a 100644 --- a/sp-modules/monitoring/module.nix +++ b/sp-modules/monitoring/module.nix @@ -25,6 +25,7 @@ in { enable = true; port = 9003; listenAddress = "127.0.0.1"; + extraOptions = [ "--enable_metrics=cpu,memory,diskIO" ]; }; services.prometheus = { enable = true;