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?

demandé il y a 9 mois163 vues
1 réponse
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
répondu il y a 11 jours

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions