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 天前

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

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

回答問題指南