Unable to view anything in cloudwatch-> container insights in eks fargate

0

I followed instruction https://aws.amazon.com/blogs/containers/introducing-amazon-cloudwatch-container-insights-for-amazon-eks-fargate-using-aws-distro-for-opentelemetry/ to deploy container insights to eks fargate. But there is nothing in cloudwatch->container insights dashboard. Is it supported in eks fargate? I also tried to deploy cloudwatch agent for prometheus in eks fargate by following instruction https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup.html. I still could not see anything in cloudwatch-> container insights dashboard. It says "You have not enabled insights on your containers"

1 Answer
0

Few things to validate.

  1. Can the containers reach the Amazon CloudWatch endpoint. For example, monitoring.us-west-1.amazonaws.com - this could be via the internet - eg a NAT gateway or via a VPC endpoint. basically your containers or the host need to be able to reach that endpoint to publish to CloudWatch
  2. Has the host got the right permissions to write to CloudWatch - you can confirm this by checking CloudTrail for access denied errors
  3. Are there any errors in the logs for the agent on the container regarding publishing of telemetry
profile pictureAWS
robbrad
answered a year ago
  • I am able to see performance log and metrics published to cloudwatch. There is no errors in logs for the agent. In cloudwatch->container insights -> performance monitoring, the drop down menu "select cluster" is empty. I suspect it might work for ecs fargate, but not eks fargate

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions