Open cmclaughlin opened 5 years ago
Hi, is there any update on this? @cmclaughlin did u find a workaround for this? Thanks
I solved this with https://cronitor.io/
+1 to this. It's been 4 years since the original request and Fargate has been out for... 6 years?
It's supposed to be the second simplest AWS serverless computing service outside of Lambda and for some stuff Lambda just isn't usable (for example things that have longer runtimes).
😔
I'd like a metric to report on container exist status. Support for scheduled tasks in Fargate is great, but I need to know when they don't work.
I opened a support request about this and learned ECS events can be used to cobble together a solution:
This request is for Fargate... but perhaps it applies to ECS too(?).
Basically, the recommended solution is a bit complicated and could be fragile. If I'm left to write my own Lambda for this, now I have two things to monitor.
[1] https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html [2] https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html#ecs_task_events [3] https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwet_handling.html [4] https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CountingLogEventsExample.html [5] https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html