Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2372 alert for excessive 5xx responses; descriptions for alerts #2373

Merged
merged 23 commits into from
Dec 29, 2023

Conversation

Matthew-Grayson
Copy link
Contributor

@Matthew-Grayson Matthew-Grayson commented Nov 9, 2023

🗣 Description

Add log metric alarm for when the percentage of 5xx responses exceeds 5% from the API gateway.
Add extended description for all alerts.

💭 Motivation and context

Closes issue #2372

🧪 Testing

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced
    in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated
    to reflect the changes in this PR.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

✅ Pre-merge checklist

  • Revert dependencies to default branches.
  • Finalize version.

✅ Post-merge checklist

  • Create a release.

@Matthew-Grayson Matthew-Grayson linked an issue Nov 9, 2023 that may be closed by this pull request
1 task
@Matthew-Grayson Matthew-Grayson self-assigned this Nov 9, 2023
@Matthew-Grayson Matthew-Grayson changed the title 2372 api gateway alert threshold 2372 alert for excessive 5xx responses; descriptions for alerts Nov 22, 2023
@Matthew-Grayson Matthew-Grayson marked this pull request as ready for review November 22, 2023 15:20
Copy link
Contributor

@aloftus23 aloftus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@cduhn17 cduhn17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matt, See suggestions, otherwise this PR looks good.

infrastructure/log_alarms.tf Outdated Show resolved Hide resolved
Copy link
Contributor

@cduhn17 cduhn17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for taking a look at the suggestions

@cduhn17 cduhn17 merged commit a32ee59 into master Dec 29, 2023
7 of 9 checks passed
@cduhn17 cduhn17 deleted the 2372-api-gateway-alert-threshold branch December 29, 2023 21:15
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.

API Gateway Alert Threshold
4 participants