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

# Packages

# Functions

GetGather returns the gatherer.
Register registers all metrics.
SetNodeName sets the NodeName Gauge to 1.
SinceInSeconds gets the time since the specified start in seconds.

# Constants

This const block defines the metric names for the kubelet metrics.
Metrics to track kubelet admission rejections.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Values used in metric labels.
This const block defines the metric names for the kubelet metrics.
Metric for tracking aligment of compute resources.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics to track the CPU manager behavior.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics keys of device plugin operations.
This const block defines the metric names for the kubelet metrics.
Metric keys for DRA operations.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metric for tracking garbage collected images.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics to track ephemeral container usage by this kubelet.
This const block defines the metric names for the kubelet metrics.
Metrics to track the Memory manager behavior.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics keys of pod resources operations.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics keys for RuntimeClass.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics keys of remote runtime operations.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics to track HostProcess container usage by this kubelet.
This const block defines the metric names for the kubelet metrics.
Metrics to keep track of total number of Pods and Containers started.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
Metrics to track the Topology manager behavior.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.
This const block defines the metric names for the kubelet metrics.

# Variables

ActivePodCount tracks the count of pods the Kubelet considers as active when deciding to admit a new pod.
AdmissionRejectionsTotal tracks the number of failed admission times, currently, just record it for pod additions.
CgroupManagerDuration is a Histogram that tracks the duration (in seconds) it takes for cgroup manager operations to complete.
ContainerAlignedComputeResources reports the count of resources allocation which granted aligned resources, per alignment boundary.
ContainersPerPodCount is a Histogram that tracks the number of containers per pod.
CPUManagerExclusiveCPUsAllocationCount reports the total number of CPUs exclusively allocated to containers running on this node.
CPUManagerPinningErrorsTotal tracks the number of times the pod spec required the cpu manager to pin cores, but the allocation failed.
CPUManagerPinningRequestsTotal tracks the number of times the pod spec will cause the cpu manager to pin cores.
CPUManagerSharedPoolSizeMilliCores reports the current size of the shared CPU pool for non-guaranteed pods.
DesiredPodCount tracks the count of pods the Kubelet thinks it should be running.
DevicePluginAllocationDuration is a Histogram that tracks the duration (in seconds) to serve a device plugin allocation request.
DevicePluginRegistrationCount is a Counter that tracks the cumulative number of device plugin registrations.
DRADurationBuckets is the bucket boundaries for DRA operation duration metrics DRAOperationsDuration and DRAGRPCOperationsDuration defined below in this file.
DRAGRPCOperationsDuration tracks the duration of the DRA GRPC operations.
DRAOperationsDuration tracks the duration of the DRA PrepareResources and UnprepareResources requests.
EventedPLEGConn is a Counter that tracks the number of times a streaming client was obtained to receive CRI Events.
EventedPLEGConnErr is a Counter that tracks the number of errors encountered during the establishment of streaming connection with the CRI runtime.
EventedPLEGConnLatency is a Histogram that tracks the latency of streaming connection with the CRI runtime, measured in seconds.
Evictions is a Counter that tracks the cumulative number of pod evictions initiated by the kubelet.
EvictionStatsAge is a Histogram that tracks the time (in seconds) between when stats are collected and when a pod is evicted based on those stats.
FirstNetworkPodStartSLIDuration is a gauge that tracks the duration (in seconds) it takes for the first network pod to run, excluding the time for image pulling.
GracefulShutdownEndTime is a gauge that records the time at which the kubelet completed graceful shutdown.
GracefulShutdownStartTime is a gauge that records the time at which the kubelet started graceful shutdown.
ImagePullDuration is a Histogram that tracks the duration (in seconds) it takes for an image to be pulled, including the time spent in the waiting queue of image puller.
ManagedEphemeralContainers is a gauge that indicates how many ephemeral containers are managed by this kubelet.
MemoryManagerPinningErrorsTotal tracks the number of times the pod spec required the memory manager to pin memory pages, but the allocation failed.
MemoryManagerPinningRequestTotal tracks the number of times the pod spec required the memory manager to pin memory pages.
MirrorPodCount tracks the number of mirror pods the Kubelet should have created for static pods.
NodeName is a Gauge that tracks the ode's name.
OrphanedRuntimePodTotal is incremented every time a pod is detected in the runtime without being known to the pod worker first.
OrphanPodCleanedVolumes is number of orphaned Pods that times that removeOrphanedPodVolumeDirs was called during the last sweep.
OrphanPodCleanedVolumes is number of times that removeOrphanedPodVolumeDirs failed.
PLEGDiscardEvents is a Counter that tracks the number of discarding events in the Kubelet's Pod Lifecycle Event Generator (PLEG).
PLEGLastSeen is a Gauge giving the Unix timestamp when the Kubelet's Pod Lifecycle Event Generator (PLEG) was last seen active.
PLEGRelistDuration is a Histogram that tracks the duration (in seconds) it takes for relisting pods in the Kubelet's Pod Lifecycle Event Generator (PLEG).
PLEGRelistInterval is a Histogram that tracks the intervals (in seconds) between relisting in the Kubelet's Pod Lifecycle Event Generator (PLEG).
PodResourcesEndpointErrorsGetAllocatableCount is a Counter that tracks the number of errors returned by the PodResource GetAllocatableResources() endpoint.
PodResourcesEndpointErrorsGetCount is a Counter that tracks the number of errors returned by he PodResource List() endpoint.
PodResourcesEndpointErrorsListCount is a Counter that tracks the number of errors returned by he PodResource List() endpoint.
PodResourcesEndpointRequestsGetAllocatableCount is a Counter that tracks the number of requests to the PodResource GetAllocatableResources() endpoint.
PodResourcesEndpointRequestsGetCount is a Counter that tracks the number of requests to the PodResource Get() endpoint.
PodResourcesEndpointRequestsListCount is a Counter that tracks the number of requests to the PodResource List() endpoint.
PodResourcesEndpointRequestsTotalCount is a Counter that tracks the cumulative number of requests to the PodResource endpoints.
PodStartDuration is a Histogram that tracks the duration (in seconds) it takes for a single pod to run since it's first time seen by kubelet.
PodStartSLIDuration is a Histogram that tracks the duration (in seconds) it takes for a single pod to run, excluding the time for image pulling.
PodStartTotalDuration is a Histogram that tracks the duration (in seconds) it takes for a single pod to run since creation, including the time for image pulling.
PodStatusSyncDuration is a Histogram that tracks the duration (in seconds) in takes from the time a pod status is generated to the time it is synced with the apiserver.
PodWorkerDuration is a Histogram that tracks the duration (in seconds) in takes to sync a single pod.
PodWorkerStartDuration is a Histogram that tracks the duration (in seconds) it takes from kubelet seeing a pod to starting a worker.
Preemptions is a Counter that tracks the cumulative number of pod preemptions initiated by the kubelet.
RestartedPodTotal is incremented every time a pod with the same UID is deleted and recreated.
RunningContainerCount is a gauge that tracks the number of containers currently running.
RunningPodCount is a gauge that tracks the number of Pods currently with a running sandbox It is used to expose the kubelet internal state: how many pods have running containers in the container runtime, and mainly for debugging purpose.
RunPodSandboxDuration is a Histogram that tracks the duration (in seconds) it takes to run Pod Sandbox operations.
RunPodSandboxErrors is a Counter that tracks the cumulative number of Pod Sandbox operations errors.
RuntimeOperations is a Counter that tracks the cumulative number of remote runtime operations.
RuntimeOperationsDuration is a Histogram that tracks the duration (in seconds) for remote runtime operations to complete.
RuntimeOperationsErrors is a Counter that tracks the cumulative number of remote runtime operations errors.
StartedContainersTotal is a counter that tracks the number of errors creating containers.
StartedContainersTotal is a counter that tracks the number of container creation operations.
StartedHostProcessContainersErrorsTotal is a counter that tracks the number of errors creating hostprocess containers.
StartedHostProcessContainersTotal is a counter that tracks the number of hostprocess container creation operations.
StartedPodsErrorsTotal is a counter that tracks the number of errors creating pod sandboxes.
StartedPodsTotal is a counter that tracks pod sandbox creation operations.
TopologyManagerAdmissionDuration is a Histogram that tracks the duration (in seconds) to serve a pod admission request.
TopologyManagerAdmissionErrorsTotal tracks the number of times the pod spec required the topology manager to admit a pod, but the admission failed.
TopologyManagerAdmissionRequestsTotal tracks the number of times the pod spec will cause the topology manager to admit a pod.
WorkingPodCount tracks the count of pods in each lifecycle phase, whether they are static pods, and whether they are desired, orphaned, or runtime_only.