What are the CloudWatch agent, ADOT and Container Insights?
IntermediateConceptKubernetes Monitoring, Scale & Cloud
Answer
- CloudWatch agent: collects OS-level metrics EC2 does not provide by default (memory, disk usage), plus log files, StatsD/collectd metrics. Configured via JSON, often stored in SSM Parameter Store.
- AWS Distro for OpenTelemetry (ADOT): AWS-supported OTel Collector and SDKs that export to CloudWatch, X-Ray, Amazon Managed Service for Prometheus or any OTLP backend.
- Container Insights: per-cluster, node, pod and container metrics and logs for ECS and EKS. On EKS it is installed via the
amazon-cloudwatch-observabilityadd-on, which also offers enhanced observability for control-plane and workload metrics.
aws eks create-addon --cluster-name prod --addon-name amazon-cloudwatch-observability
Without the agent, "memory utilisation" for EC2 simply does not exist in CloudWatch.
More on Kubernetes Monitoring, Scale & Cloud
What is kube-prometheus-stack and what does it install?BeginnerWhat CRDs does the Prometheus Operator provide?IntermediateHow does the Prometheus Operator decide which ServiceMonitors to load?IntermediateWhich cAdvisor container memory metric should you watch, and why?IntermediateHow do metrics-server and the custom/external metrics APIs relate to HPA?IntermediateWhich kube-state-metrics metrics do you use most?Beginner