View a markdown version of this page

增強型容器洞見 (傳統) 指標參考 - Amazon CloudWatch

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

增強型容器洞見 (傳統) 指標參考

Enhanced Container Insights (Classic) 會將指標發佈至 CloudWatch 中的ContainerInsights命名空間。下表依類別列出所有指標,以及其維度和描述。

注意

如需 OTel Container Insights 指標,請參閱 OTel Container Insights (建議),其中列出開放原始碼指標名稱。

叢集指標

下列指標會測量 Amazon EKS 叢集的整體運作狀態和容量。

指標名稱 維度 說明
cluster_failed_node_count ClusterName 叢集中失敗的工作者節點數量。
cluster_node_count ClusterName 叢集中的工作者節點總數。

節點指標

下列指標測量節點層級的資源用量和容量。

指標名稱 維度 說明
node_cpu_limit ClusterName, InstanceId, NodeName 可指派給節點的 CPU 單位數量上限。
node_cpu_reserved_capacity ClusterName, InstanceId, NodeName 節點上預留的 CPU 單位百分比。
node_cpu_usage_total ClusterName, InstanceId, NodeName 節點上使用的 CPU 單位數量。
node_cpu_utilization ClusterName, InstanceId, NodeName 節點上使用的 CPU 單位百分比。
node_filesystem_utilization ClusterName, InstanceId, NodeName 節點上使用的檔案系統容量百分比。
node_memory_limit ClusterName, InstanceId, NodeName 可指派給節點的記憶體數量上限,以位元組為單位。
node_memory_reserved_capacity ClusterName, InstanceId, NodeName 節點上預留的記憶體百分比。
node_memory_utilization ClusterName, InstanceId, NodeName 節點上使用的記憶體百分比。
node_memory_working_set ClusterName, InstanceId, NodeName 節點工作集中的記憶體數量,以位元組為單位。
node_network_total_bytes ClusterName, InstanceId, NodeName 每秒透過節點上的網路傳輸和接收的位元組總數。
node_number_of_running_containers ClusterName, InstanceId, NodeName 節點上執行中的容器數量。
node_number_of_running_pods ClusterName, InstanceId, NodeName 節點上執行的 Pod 數量。

Pod 指標

下列指標測量 Pod 層級的資源用量。

指標名稱 維度 說明
pod_cpu_utilization ClusterName, Namespace, PodName Pod 使用的 CPU 單位百分比。
pod_cpu_utilization_over_pod_limit ClusterName, Namespace, PodName 相對於 Pod 限制使用的 CPU 單位百分比。
pod_cpu_usage_total ClusterName, Namespace, PodName Pod 使用的 CPU 單位數量。
pod_memory_utilization ClusterName, Namespace, PodName Pod 使用的記憶體百分比。
pod_memory_utilization_over_pod_limit ClusterName, Namespace, PodName 相對於 Pod 限制使用的記憶體百分比。
pod_memory_working_set ClusterName, Namespace, PodName Pod 工作集中的記憶體量,以位元組為單位。
pod_network_rx_bytes ClusterName, Namespace, PodName Pod 透過網路每秒收到的位元組數。
pod_network_tx_bytes ClusterName, Namespace, PodName Pod 每秒透過網路傳輸的位元組數。
pod_number_of_container_restarts ClusterName, Namespace, PodName Pod 中容器重新啟動的總數。

容器指標

下列指標會測量容器層級的資源用量。

指標名稱 維度 說明
container_cpu_utilization ClusterName, Namespace, PodName, ContainerName 容器使用的 CPU 單位百分比。
container_memory_utilization ClusterName, Namespace, PodName, ContainerName 容器使用的記憶體百分比。

服務和命名空間指標

下列指標會在服務和命名空間層級測量 Pod 計數。

指標名稱 維度 說明
service_number_of_running_pods ClusterName, Namespace, Service 服務的執行中 Pod 數量。
namespace_number_of_running_pods ClusterName, Namespace 命名空間中執行中的 Pod 數量。

NVIDIA GPU 指標

當您的叢集具有 NVIDIA GPU 配備的節點時,會收集下列指標。這些指標可協助您監控節點、Pod 和容器之間的 GPU 運算和記憶體使用率。

指標名稱 維度 說明
node_gpu_utilization ClusterName, InstanceId, NodeName 節點上使用的 GPU 運算容量百分比。
node_gpu_memory_utilization ClusterName, InstanceId, NodeName 節點上使用的 GPU 記憶體百分比。
node_gpu_temperature ClusterName, InstanceId, NodeName 節點上的 GPU 溫度,以攝氏度為單位。
pod_gpu_utilization ClusterName, Namespace, PodName Pod 使用的 GPU 運算容量百分比。
container_gpu_utilization ClusterName, Namespace, PodName, ContainerName 容器使用的 GPU 運算容量百分比。

AWS Neuron 指標

當您的叢集具有具備 AWS Neuron 的執行個體時,例如 Inf1 或 Inf2,會收集下列指標。這些指標可協助您監控節點和 Pod 層級的 NeuronCore 使用率。

指標名稱 維度 說明
node_neuroncore_utilization ClusterName, InstanceId, NodeName 節點上使用的 NeuronCore 運算容量百分比。
pod_neuroncore_utilization ClusterName, Namespace, PodName Pod 使用的 NeuronCore 運算容量百分比。

Kubernetes API 伺服器指標

系統會從 Kubernetes API 伺服器收集下列指標。這些指標可協助您監控控制平面的運作狀態和效能。

指標名稱 維度 說明
apiserver_storage_objects ClusterName API 伺服器在 中存放的物件數量。
apiserver_request_total ClusterName API 伺服器收到的請求總數。
apiserver_request_duration_seconds ClusterName API 伺服器請求的延遲,以秒為單位。