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 个月前163 查看次数
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 天前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则