cruise-control
cruise-control copied to clipboard
Metrics problem on osx platform
ContainerMetricUtils.getContainerProcessCpuLoad relies on cgroup which is not available on osx platform (docker osx as well then). MetricsReporter won't work then on osx (as development platform for example).
Hey @Emmenemoi, this should only be a problem when setting cruise.control.metrics.reporter.kubernetes.mode to true. It's also worth noting that cruise.control.metrics.reporter.kubernetes.mode should only be set to true when using an older java versions which do not have this patch [1]. Otherwise, it is safe to run Cruise Control in container environments withcruise.control.metrics.reporter.kubernetes.mode set to false. Check out this issue [2] for more details!
[1] https://bugs.openjdk.java.net/browse/JDK-8226575 [2] https://github.com/linkedin/cruise-control/issues/1747