ECS Fargate + Service Connect Metrics in CloudWatch

0

We use ECS Fargate with Service Connect enabled for our microservices. I also have ContainerInsights enabled and LogConfigurations set at the task definition and ECS service levels. According to https://docs.aws.amazon.com/AmazonECS/latest/userguide/cloudwatch-metrics.html we should be able to see many different performance metrics when Service Connect is enabled. The one I need is: RequestCount.

I am able to find ActiveConnectionCount, NewConnectionCount, ProcessedBytes, and TargetProcessedBytes which are also Service Connect metrics. However, I am not able to find RequestCount in the metrics under ECS in the console.

Any ideas on how to get the Service Connect/ECS RequestCount metric to be available?

질문됨 9달 전162회 조회
1개 답변
0

Hi, the requestCount is probably missing because you didn't configured the appProtocol in the port mapping in the task definition. You can re-deploy your service with the new task definition that you should be able to have the full list of available metrics.

AWS
답변함 11일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠