

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

# 增強型容器洞見 （傳統） 指標參考
<a name="container-insights-eks-classic-metrics"></a>

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

**注意**  
如需 OTel Container Insights 指標，請參閱 [OTel Container Insights （建議）](container-insights-eks-otel.md)，其中列出開放原始碼指標名稱。

## 叢集指標
<a name="container-insights-eks-classic-metrics-cluster"></a>

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


| 指標名稱 | 維度 | 說明 | 
| --- | --- | --- | 
| cluster\_failed\_node\_count | ClusterName | 叢集中失敗的工作者節點數量。 | 
| cluster\_node\_count | ClusterName | 叢集中的工作者節點總數。 | 

## 節點指標
<a name="container-insights-eks-classic-metrics-node"></a>

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


| 指標名稱 | 維度 | 說明 | 
| --- | --- | --- | 
| 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 指標
<a name="container-insights-eks-classic-metrics-pod"></a>

下列指標測量 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 中容器重新啟動的總數。 | 

## 容器指標
<a name="container-insights-eks-classic-metrics-container"></a>

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


| 指標名稱 | 維度 | 說明 | 
| --- | --- | --- | 
| container\_cpu\_utilization | ClusterName, Namespace, PodName, ContainerName | 容器使用的 CPU 單位百分比。 | 
| container\_memory\_utilization | ClusterName, Namespace, PodName, ContainerName | 容器使用的記憶體百分比。 | 

## 服務和命名空間指標
<a name="container-insights-eks-classic-metrics-service"></a>

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


| 指標名稱 | 維度 | 說明 | 
| --- | --- | --- | 
| service\_number\_of\_running\_pods | ClusterName, Namespace, Service | 服務的執行中 Pod 數量。 | 
| namespace\_number\_of\_running\_pods | ClusterName, Namespace | 命名空間中執行中的 Pod 數量。 | 

## NVIDIA GPU 指標
<a name="container-insights-eks-classic-metrics-gpu"></a>

當您的叢集具有 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 指標
<a name="container-insights-eks-classic-metrics-neuron"></a>

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


| 指標名稱 | 維度 | 說明 | 
| --- | --- | --- | 
| node\_neuroncore\_utilization | ClusterName, InstanceId, NodeName | 節點上使用的 NeuronCore 運算容量百分比。 | 
| pod\_neuroncore\_utilization | ClusterName, Namespace, PodName | Pod 使用的 NeuronCore 運算容量百分比。 | 

## Kubernetes API 伺服器指標
<a name="container-insights-eks-classic-metrics-apiserver"></a>

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


| 指標名稱 | 維度 | 說明 | 
| --- | --- | --- | 
| apiserver\_storage\_objects | ClusterName | API 伺服器在 中存放的物件數量。 | 
| apiserver\_request\_total | ClusterName | API 伺服器收到的請求總數。 | 
| apiserver\_request\_duration\_seconds | ClusterName | API 伺服器請求的延遲，以秒為單位。 | 