Merge pull request #108004 from equinix-ms/kubelet-include-oommetrics

kubelet: expose OOM metrics
This commit is contained in:
Kubernetes Prow Robot
2022-03-14 23:14:13 -07:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots [
cadvisormetrics.NetworkUsageMetrics: struct{}{},
cadvisormetrics.AppMetrics: struct{}{},
cadvisormetrics.ProcessMetrics: struct{}{},
cadvisormetrics.OOMMetrics: struct{}{},
}
// Only add the Accelerator metrics if the feature is inactive

View File

@@ -367,6 +367,7 @@ func (s *Server) InstallDefaultHandlers() {
cadvisormetrics.NetworkUsageMetrics: struct{}{},
cadvisormetrics.AppMetrics: struct{}{},
cadvisormetrics.ProcessMetrics: struct{}{},
cadvisormetrics.OOMMetrics: struct{}{},
}
// Only add the Accelerator metrics if the feature is inactive