Prometheus metrics collected by the CloudWatch agent
The CloudWatch agent with Prometheus support automatically collects metrics from several services and workloads. The metrics that are collected by default are listed in the following sections. You can also configure the agent to collect more metrics from these services, and to collect Prometheus metrics from other applications and services. For more information about collecting additional metrics, see CloudWatch agent configuration for Prometheus.
Prometheus metrics collected from Amazon EKS and Kubernetes clusters are in the ContainerInsights/Prometheus namespace. Prometheus metrics collected from Amazon ECS clusters are in the ECS/ContainerInsights/Prometheus namespace.
Topics
Prometheus metrics for App Mesh
The following metrics are automatically collected from App Mesh .
Prometheus metrics for App Mesh on Amazon EKS and Kubernetes clusters
| Metric name | 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, |
Prometheus metrics for App Mesh on Amazon ECS clusters
| Metric name | 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 |
Note
TaskDefinitionFamily is the Kubernetes namespace of the mesh.
The value of envoy_http_conn_manager_prefix can be
ingress, egress, or admin.
The value of envoy_response_code_class can be 1 (stands
for 1xx), 2 stands for 2xx), 3
stands for 3xx), 4 stands for 4xx), or
5 stands for 5xx).
Prometheus metrics for NGINX
The following metrics are automatically collected from NGINX on Amazon EKS and Kubernetes clusters.
| Metric name | Dimensions |
|---|---|
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
Prometheus metrics for Memcached
The following metrics are automatically collected from Memcached on Amazon EKS and Kubernetes clusters.
| Metric name | Dimensions |
|---|---|
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, |
|
|
ClusterName, ClusterName, ClusterName, |
Prometheus metrics for Java/JMX
Metrics collected on Amazon EKS and Kubernetes clusters
On Amazon EKS and Kubernetes clusters, Container Insights can collect the following
predefined Prometheus metrics from the Java Virtual Machine (JVM), Java, and Tomcat
(Catalina) using the JMX Exporter. For more information, see prometheus/jmx_exporter
Java/JMX on Amazon EKS and Kubernetes clusters
| Metric name | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note
The values of the area dimension can be heap or
nonheap.
The values of the pool dimension can be Tenured Gen,
Compress Class Space, Survivor Space, Eden
Space, Code Cache, or Metaspace.
Tomcat/JMX on Amazon EKS and Kubernetes clusters
In addition to the Java/JMX metrics in the previous table, the following metrics are also collected for the Tomcat workload.
| Metric name | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Java/JMX on Amazon ECS clusters
| Metric name | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note
The values of the area dimension can be heap or
nonheap.
The values of the pool dimension can be Tenured Gen,
Compress Class Space, Survivor Space, Eden
Space, Code Cache, or Metaspace.
Tomcat/JMX on Amazon ECS clusters
In addition to the Java/JMX metrics in the previous table, the following metrics are also collected for the Tomcat workload on Amazon ECS clusters.
| Metric name | Dimensions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Prometheus metrics for HAProxy
The following metrics are automatically collected from HAProxy on Amazon EKS and Kubernetes clusters.
The metrics collected depend on which version of HAProxy Ingress that you are using.
For more information about HAProxy Ingress and its versions, see
haproxy-ingress
| Metric name | Dimensions | Availability |
|---|---|---|
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
Only in versions 0.10 or later of HAProxy Ingress |
|
|
|
Only in versions of HAProxy Ingress earlier than 0.10 |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
|
|
|
All versions of HAProxy Ingress |
Note
The values of the code dimension can be 1xx,
2xx, 3xx, 4xx, 5xx, or
other.
The values of the backend dimension can be:
-
http-default-backend,http-shared-backend, orhttpsback-shared-backendfor HAProxy Ingress version 0.0.27 or earlier. -
_default_backendfor HAProxy Ingress versions later than 0.0.27.
The values of the frontend dimension can be:
-
httpfront-default-backend,httpfront-shared-frontend, orhttpfrontsfor HAProxy Ingress version 0.0.27 or earlier. -
_front_httpor_front_httpsfor HAProxy Ingress versions later than 0.0.27.