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 指标
| 指标名称 | Dimensions |
|---|---|
|
|
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 指标
| 指标名称 | Dimensions |
|---|---|
|
|
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 是网格的 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 自动收集以下指标。
| 指标名称 | Dimensions |
|---|---|
|
|
ClusterName、 |
|
|
ClusterName、 |
|
|
ClusterName、 |
|
|
ClusterName、 |
|
|
ClusterName、 |
|
|
ClusterName、 |
|
|
ClusterName、 |
|
|
ClusterName、 |
Memcached 的 Prometheus 指标
从 Amazon EKS 和 Kubernetes 集群上的 Memcached 中自动收集以下指标。
| 指标名称 | Dimensions |
|---|---|
|
|
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
| 指标名称 | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
注意
area 维度的值可以是 heap 或 nonheap。
pool 维度的值可以是 Tenured Gen、Compress Class Space、Survivor Space、Eden
Space、Code Cache 或 Metaspace。
Amazon EKS 和 Kubernetes 集群上的 Tomcat/JMX
除了上表中的 Java/JMX 指标外,还收集 Tomcat 工作负载的以下指标。
| 指标名称 | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Amazon ECS 集群上的 Java/JMX
| 指标名称 | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
注意
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 工作负载的以下指标。
| 指标名称 | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HAProxy 的 Prometheus 指标
从 Amazon EKS 和 Kubernetes 集群上的 HAProxy 自动收集以下指标。
收集的指标取决于您使用的 HAProxy Ingress 版本。有关 HAProxy Ingress 及其版本的更多信息,请参阅 haproxy-ingress
| 指标名称 | Dimensions | 可用性 |
|---|---|---|
|
|
|
所有版本的 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。