Monitoring - Split PROD & STAGING build-error-check
Canary into 2 Separate Canaries
#25872
Closed
2 tasks
Labels
Awaiting Feedback
this is for public websites team awaiting feedback from SMEs or other team members
devops
practice area categorization -- NOT a team assignment
operations
The Problem
The
build-error-check
AWS Synthetic Canary currently checks both staging.va.gov & va.gov. Each env should have it's own canary so they can have different alert rules & thresholds.Extra Context
This could easily be done by using canary ENV variables - each canary would share the same JS code but have different ENV values. However, ENV vars for canaries are currently not supported in terraform. We could manually set these ENV vars in the AWS Canary UI, but they would get wiped each time the terraform for that canary gets applied.
The other alternative would be to duplicate the javascript code on our side - one for each canary. I opted against this and chose instead to just keep 1 canary that checks both envs.
Work to be Done
The text was updated successfully, but these errors were encountered: