Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fargate Metrics data is Missing

I have my ecs cluster running and in the metrics section the 4 metrics is coming i.e CPUUtilization, MemoryUtilization, CPUReservation, MemoryReservation but all the metrics is empty even when I select 4 months. I have running many Scheduled Tasks and tasks with fargate launch type only.

I am very new to ECS, please help I want to setup the metrics alarms on fargate so from their metrics I will select the overall threshold values.

Thanks in advance !

like image 739
user12417145 Avatar asked Jul 23 '20 11:07

user12417145


1 Answers

Fargate provides metrics on ECS "Service" level, and not Task level since you have scheduled tasks which are not running as an ECS Service thus you are not seeing the metrics. Some discussion on why task level metrics are not provided is here: 1

I suggest you setup Container insights 2 which will give container level metrics 3 as required for your use case.

like image 115
shariqmaws Avatar answered Sep 28 '22 02:09

shariqmaws