package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Functions

FormatRuntimeOperationErrorRate formats the runtime operation error rate to string.
GetKubeletHeapStats returns stats of kubelet heap.
GetKubeletPods retrieves the list of pods on the kubelet.
GetKubeletRunningPods retrieves the list of running pods on the kubelet.
GetStatsSummary contacts kubelet for the container information.
NewResourceMonitor returns a new ResourceMonitor.
NewRuntimeOperationMonitor returns a new RuntimeOperationMonitor.
ProxyRequest performs a get on a node proxy endpoint given the nodename and rest client.
TargetContainers returns a list of containers for which we want to collect resource usage.

# Structs

ContainerResourceUsage is a structure for gathering container resource usage.
ResourceMonitor manages a resourceCollector per node.
RuntimeOperationErrorRate is the error rate of a specified runtime operation.
RuntimeOperationMonitor is the tool getting and parsing docker operation metrics.

# Type aliases

ContainersCPUSummary is indexed by the container name with each entry a (percentile, value) map.
NodeRuntimeOperationErrorRate is the runtime operation error rate on one node.
NodesCPUSummary is indexed by the node name with each entry a ContainersCPUSummary map.
ResourceUsagePerContainer is map of ContainerResourceUsage.
ResourceUsagePerNode is map of ResourceUsagePerContainer.