mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #108004 from equinix-ms/kubelet-include-oommetrics
kubelet: expose OOM metrics
This commit is contained in:
commit
7858fc93e5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user