Skip to content

Cloudwatch Alarm Manager Service (co-dependent service of the docdb-autoscaler service)

Notifications You must be signed in to change notification settings

cheelim1/cw-alarm-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Cloudwatch Alarm Manager

This service is meant to set the Cloudwatch Alarm to a desired state (which can be invoked by an eventbrigde or etc) to allow the cloudwatch alarm to re-invoke a lambda function. It's a workaround to work as the scale-in & scale-out cooldown period for the docdb-autoscaler service. This service was built to work together with the docdb-autoscaler service Link. However, it can be used for other services as well.

To Use

Pull the docker image into your AWS ECR. AWS Lambda container images must reside in AWS ECR.

Testing

   go fmt ./...
   go clean -cache -testcache
   go test ./... -v

Debugging

  1. Go to the AWS Lambda function -> Monitor & check if the Lambda function was invoked
  2. Further debug using cloudwatch logs.

About

Cloudwatch Alarm Manager Service (co-dependent service of the docdb-autoscaler service)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages