Skip to content

infra: alarm on ALB target 5XX responses#2986

Merged
cqnykamp merged 1 commit into
Doenet:mainfrom
cqnykamp:infra/api-5xx-alarm
Jul 1, 2026
Merged

infra: alarm on ALB target 5XX responses#2986
cqnykamp merged 1 commit into
Doenet:mainfrom
cqnykamp:infra/api-5xx-alarm

Conversation

@cqnykamp

@cqnykamp cqnykamp commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds an Alb5xxAlarm CloudWatch alarm in service-common.yml that fires on the ALB's HTTPCode_Target_5XX_Count metric (>= 1 over a 1-minute period) and notifies the critical SNS topic.
  • Gated on the existing LbIsEnabled condition so stacks without a load balancer are unaffected.

Test plan

  • Deploy to dev3 and confirm the alarm resource is created.
  • Force a 5XX response from a target (e.g. temporary handler) and verify the alarm transitions to ALARM and the SNS notification is delivered.
  • Confirm normal 2xx traffic keeps the alarm in OK.

@cqnykamp cqnykamp merged commit 28ce8bd into Doenet:main Jul 1, 2026
12 checks passed
@cqnykamp cqnykamp deleted the infra/api-5xx-alarm branch July 1, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant