limit metrics collected by cadvisor

This commit is contained in:
Inex Code 2024-07-27 02:00:39 +03:00
parent c59a5b764f
commit b6ed70a058

View file

@ -25,6 +25,7 @@ in {
enable = true; enable = true;
port = 9003; port = 9003;
listenAddress = "127.0.0.1"; listenAddress = "127.0.0.1";
extraOptions = [ "--enable_metrics=cpu,memory,diskIO" ];
}; };
services.prometheus = { services.prometheus = {
enable = true; enable = true;