pahud / ecs-cfn-refarch

Amazon ECS reference architecture
102 stars 62 forks source link

build a ECS service custom metrics logger with Lambda and publish to SAR #8

Open pahud opened 5 years ago

pahud commented 5 years ago

To generate some metrics not available in the provided cloudwatch metrics for ecs services like Running Task Number and Desired Task Number

pahud commented 5 years ago

https://github.com/pahud/ecs-cfn-refarch/tree/master/lambdaFunctions/ecs-svc-custom-metrics-logger

arn:aws:serverlessrepo:us-east-1:903779448426:applications/ecs-svc-custom-metrics-logger

pahud commented 5 years ago

waiting for the SAR global propagation from us-east-1 to other global regions

will fix this until then

https://github.com/pahud/ecs-cfn-refarch/blob/87a4ad961cfdc416130d4f822a54f1656421756c/cloudformation/ecs-svc-custom-metrics-logger.yaml#L21