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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ