Now the rawPrefixWhiteList is only be used by rawFactory.CanHandleAndAccept, but the cadvisor manager also starts rawContainerWatcher to watch all the cgroup paths, and the housekeeping timely calls rawContainerHandler.ListContainers to list all cgroup paths recursively. if a system has many many cgroup paths under /user.slice, it can exhaust uneccessary performance like cpu&memory, so should we also apply rawPrefixWhiteList to rawContainerWatcher and rawContainerHandler?
Now the rawPrefixWhiteList is only be used by rawFactory.CanHandleAndAccept, but the cadvisor manager also starts rawContainerWatcher to watch all the cgroup paths, and the housekeeping timely calls rawContainerHandler.ListContainers to list all cgroup paths recursively. if a system has many many cgroup paths under /user.slice, it can exhaust uneccessary performance like cpu&memory, so should we also apply rawPrefixWhiteList to rawContainerWatcher and rawContainerHandler?