-
Notifications
You must be signed in to change notification settings - Fork 1
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
1040 add acu db alarm #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
One thing: did we mean to remove the FreeLocalStorageAlarm?
const storageMetric = dbCluster.metricFreeLocalStorage(); | ||
const storageAlarm = storageMetric.createAlarm( | ||
this, | ||
`${dbClusterName}FreeLocalStorageAlarm`, | ||
{ | ||
threshold: mbToBytes(250), | ||
evaluationPeriods: 1, | ||
comparisonOperator: | ||
cloudwatch.ComparisonOperator.LESS_THAN_OR_EQUAL_TO_THRESHOLD, | ||
treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING, | ||
} | ||
); | ||
alarmAction && storageAlarm.addAlarmAction(alarmAction); | ||
alarmAction && storageAlarm.addOkAction(alarmAction); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed b/c it's not applicable to Aurora serverless v2 - link, search for FreeLocalStorage
.
@RamilGaripov good catch! I was going to add a comment about it but forgot, sorry. Added one now, but yeah, not applicable to Aurora serverless v2. |
Ref: https://github.com/metriport/metriport-internal/issues/1040
Dependencies
Related:
Description
Add ACU DB alarm.
Upgraded CDK to the same version of OSS to have access to the ACU metric.
Testing
staging
Release Plan