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
preguntada hace un año901 visualizaciones
1 Respuesta
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
respondido hace un año
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas