Company
Date Published
Author
David M. Lentz
Word count
2864
Language
English
Hacker News points
None

Summary

To monitor ECS or EKS clusters on Fargate, you'll need to enable and configure the necessary integrations. For ECS, this means setting up the AWS integration, while for EKS, you'll need to enable the Kubernetes integration. You can also configure other AWS services for monitoring. Once set up, Datadog will begin collecting CloudWatch metrics and events emitted by the AWS services you're using. The Datadog Agent collects data from the ECS task metadata endpoint so you can visualize and alert on the health and performance of your clusters. In EKS clusters, the Agent collects Kubernetes data from your pods, and monitors the amount of Fargate compute resources used by your containers. The Agent provides Autodiscovery to make it easy to monitor your containerized infrastructure. To collect distributed traces from ECS or EKS, you'll need to allow the Agent to communicate on the container's port 8126 and add environment variables to the Agent container definition. Datadog APM gives you important details about the performance of your services and their dependencies. You can visualize your APM data with flame graphs and the Service Map. Logs from your applications on Fargate can help provide rich context for troubleshooting issues in your container environment. To collect logs, FireLens for Amazon ECS is a log router that allows you to use Fluent Bit to forward application logs to Datadog. You can also create custom tags by using the DD_TAGS environment variable. The out-of-the-box Fargate dashboard displays important per-container metrics around memory and CPU usage, disk I/O, and network performance. To give you complete visibility into how your containerized application is performing, Datadog integrates with more than 850 technologies and provides built-in dashboards to make it easy for you to monitor them all. You can create a custom dashboard that combines the most relevant data from your containers, orchestrators, and other AWS services. The container map gives you a bird's-eye view of your containers, allowing you to quickly spot potential problems in the health of your container fleet. Alerts can be created to proactively notify your team if your monitoring data indicates a problem. Datadog brings your metrics, traces, and logs into a single platform so you can monitor and alert on every dimension of your containerized services.