本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
CloudWatch 代理程式收集的 Prometheus 指標
具有 Prometheus 支援的 CloudWatch 代理程式會自動從多個服務和工作負載收集指標。預設收集的指標列於下列各節中。您也可以將代理程式設定為從這些服務收集更多指標,以及從其他應用程式和服務收集 Prometheus 指標。如需更多有關收集其他指標詳細資訊,請參閱 Prometheus 的 CloudWatch 代理程式組態。
從 Amazon EKS 和 Kubernetes 叢集收集的所有 Prometheus 指標,均收集在 ContainerInsights/Prometheus 命名空間中。從 Amazon ECS 叢集收集的所有 Prometheus 指標,均收集在 ECS/ContainerInsights/Prometheus 命名空間中。
主題
App Mesh 的 Prometheus 指標
系統會從 App Mesh 自動收集下列指標。
Amazon EKS 和 Kubernetes 叢集上 App Mesh 的 Prometheus 指標
指標名稱 | 維度 |
---|---|
|
ClusterName、 |
|
ClusterName、 ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
Amazon ECS 叢集上 App Mesh 的 Prometheus 指標
指標名稱 | 維度 |
---|---|
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、TaskDefinitionFamily、envoy_http_conn_manager_prefix、envoy_response_code_class ClusterName、TaskDefinitionFamily、envoy_response_code_class |
注意
TaskDefinitionFamily
是 mesh 的 Kubernetes 命名空間。
envoy_http_conn_manager_prefix
的值可以是 ingress
、egress
或 admin
。
envoy_response_code_class
的值可以是 1
(代表 1xx
)、2
代表 (2xx
)、3
(代表 3xx
)、4
(代表 4xx
) 或 5
(代表5xx
)。
NGINX 的 Prometheus 指標
系統會 Amazon EKS 和 Kubernetes 叢集上的 NGINX 自動收集下列指標。
指標名稱 | 維度 |
---|---|
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
memcached 的 Prometheus 指標
系統會 Amazon EKS 和 Kubernetes 叢集上的 Memcached 自動收集下列指標。
指標名稱 | 維度 |
---|---|
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 |
|
ClusterName、 ClusterName、 ClusterName、 |
Java/JMX 的 Prometheus 指標
在 Amazon EKS 和 Kubernetes 叢集上收集的指標
在 Amazon EKS 和 Kubernetes 叢集上,Container Insights 可以使用 JMX Exporter,從 Java 虛擬機器 (JVM)、Java 和 Tomcat (Catalina) 收集下列預先定義的 Prometheus 指標。如需詳細資訊,請參閱 Github 上的 prometheus/jmx_exporter
Amazon EKS 和 Kubernetes 叢集上的 Java/JMX
指標名稱 | 維度 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
注意
area
維度的數值可以是 heap
或 nonheap
。
pool
維度的數值可以是 Tenured Gen
、Compress Class Space
、Survivor Space
、Eden
Space
、Code Cache
或 Metaspace
。
Amazon EKS 和 Kubernetes 叢集上的 Tomcat/JMX
除了上表中的 Java/JMX 指標之外,也會收集 Tomcat 工作負載的下列指標。
指標名稱 | 維度 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Amazon ECS 叢集上的 Java/JMX
指標名稱 | 維度 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
注意
area
維度的數值可以是 heap
或 nonheap
。
pool
維度的數值可以是 Tenured Gen
、Compress Class Space
、Survivor Space
、Eden
Space
、Code Cache
或 Metaspace
。
Amazon ECS 叢集上的 Tomcat/JMX
除了上表中的 Java/JMX 指標之外,也會收集 Amazon ECS 叢集上的 Tomcat 工作負載的下列指標。
指標名稱 | 維度 |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAProxy 的 Prometheus 指標
系統會從 Amazon EKS 和 Kubernetes 叢集 上的 HAProxy 自動收集下列指標。
收集的指標取決於您所使用的 HAProxy Ingress 的版本。如需 HAProxy Ingress 及其版本的詳細資訊,請參閱 haproxy-ingress
指標名稱 | 維度 | 可用性 |
---|---|---|
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
只有 HAProxy Ingress 的 0.10 版或更新版本 |
|
|
只有 HAProxy Ingress 的 0.10 版 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
|
|
HAProxy Ingress 的所有版本 |
注意
code
維度的數值可以是 1xx
、2xx
、3xx
、4xx
、5xx
或 other
。
backend
維度的數值可以是:
-
適用於 HAProxy Ingress 0.0.27 版或更早版本的
http-default-backend
、http-shared-backend
或httpsback-shared-backend
。 -
適用於 HAProxy Ingress 0.0.27 以上版本的
_default_backend
。
frontend
維度的數值可以是:
-
適用於 HAProxy Ingress 0.0.27 版或更早版本的
httpfront-default-backend
、httpfront-shared-frontend
或httpfronts
。 -
適用於 HAProxy Ingress 0.0.27 以上版本的
_front_http
或_front_https
。