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"

Julie
已提問 1 年前檢視次數 902 次
1 個回答
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
已回答 1 年前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南