mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Merge pull request #108004 from equinix-ms/kubelet-include-oommetrics
kubelet: expose OOM metrics
This commit is contained in:
@@ -91,6 +91,7 @@ func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots [
|
|||||||
cadvisormetrics.NetworkUsageMetrics: struct{}{},
|
cadvisormetrics.NetworkUsageMetrics: struct{}{},
|
||||||
cadvisormetrics.AppMetrics: struct{}{},
|
cadvisormetrics.AppMetrics: struct{}{},
|
||||||
cadvisormetrics.ProcessMetrics: struct{}{},
|
cadvisormetrics.ProcessMetrics: struct{}{},
|
||||||
|
cadvisormetrics.OOMMetrics: struct{}{},
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only add the Accelerator metrics if the feature is inactive
|
// Only add the Accelerator metrics if the feature is inactive
|
||||||
|
@@ -367,6 +367,7 @@ func (s *Server) InstallDefaultHandlers() {
|
|||||||
cadvisormetrics.NetworkUsageMetrics: struct{}{},
|
cadvisormetrics.NetworkUsageMetrics: struct{}{},
|
||||||
cadvisormetrics.AppMetrics: struct{}{},
|
cadvisormetrics.AppMetrics: struct{}{},
|
||||||
cadvisormetrics.ProcessMetrics: struct{}{},
|
cadvisormetrics.ProcessMetrics: struct{}{},
|
||||||
|
cadvisormetrics.OOMMetrics: struct{}{},
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only add the Accelerator metrics if the feature is inactive
|
// Only add the Accelerator metrics if the feature is inactive
|
||||||
|
Reference in New Issue
Block a user