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
commit 7858fc93e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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