Skip to content

Conversation

@TimDiekmann
Copy link
Member

🌟 What is the purpose of this PR?

Add a CloudWatch alarm to monitor RDS freeable memory and alert when it drops below a critical threshold.

🔍 What does this change?

  • Adds a new CloudWatch metric alarm rds_freeable_memory_low that triggers when the database instance has less than 1GB of freeable memory for 10 minutes
  • Configures the alarm to send notifications to the existing database alerts SNS topic
  • Sets appropriate tags for severity and purpose tracking

🛡 What tests cover this?

  • Existing Terraform validation tests

❓ How to test this?

  1. Apply the Terraform changes
  2. Verify the new CloudWatch alarm appears in the AWS console
  3. Confirm the alarm is properly linked to the SNS topic for notifications

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • does not modify any publishable blocks or libraries, or modifications do not need publishing

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • do not affect the execution graph

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 3, 2025

Graphite Automations

"Request DevOps reviewers once CI passes" took an action on this PR • (11/03/25)

1 reviewer was added to this PR based on Tim Diekmann's automation.

@TimDiekmann TimDiekmann force-pushed the t/sre-80-vanta-remediate-sql-database-cpu-monitored branch from 90c4cee to cfb61a8 Compare November 3, 2025 19:03
@TimDiekmann TimDiekmann force-pushed the t/sre-86-vanta-remediate-sql-database-freeable-memory-monitored-aws branch from 2605e3e to 9f172c6 Compare November 3, 2025 19:03
@vilkinsons vilkinsons changed the title SRE-86: Add FreeableMemory Cloudwatch alert for RDS SRE-86: Add FreeableMemory CloudWatch alert for RDS Nov 3, 2025
@graphite-app graphite-app bot changed the base branch from t/sre-80-vanta-remediate-sql-database-cpu-monitored to graphite-base/8004 November 4, 2025 10:44
@TimDiekmann TimDiekmann force-pushed the t/sre-86-vanta-remediate-sql-database-freeable-memory-monitored-aws branch from 9f172c6 to 7d359e9 Compare November 4, 2025 11:07
@graphite-app graphite-app bot changed the base branch from graphite-base/8004 to main November 4, 2025 11:07
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 4, 2025

Merge activity

  • Nov 4, 11:07 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.
  • Nov 4, 11:07 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

Merged via the queue into main with commit 9aa271a Nov 4, 2025
43 of 57 checks passed
@TimDiekmann TimDiekmann deleted the t/sre-86-vanta-remediate-sql-database-freeable-memory-monitored-aws branch November 4, 2025 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infra > terraform area/infra Relates to version control, CI, CD or IaC (area)

Development

Successfully merging this pull request may close these issues.

3 participants