aws / copilot-cli

The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
https://aws.github.io/copilot-cli/
Apache License 2.0
3.44k stars 398 forks source link

Low/No traffic not scaling in, how to utilize `TreatMissingData`? #5854

Open ssyberg opened 1 month ago

ssyberg commented 1 month ago

I have a staging deployment that often gets very low traffic, is there any way to use a patch or something to leverage TreatMissingData such that the scale in alarm triggers when request/response times have dropped to nothing (which IMO should default to scaling back in...)

Lou1415926 commented 1 month ago

Hi @ssyberg. I haven't tried this - but I suspect setting TreatMissingData to notBreaching might be a good place to start experimenting!