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

1040 add acu db alarm #42

Merged
merged 1 commit into from
Dec 20, 2023
Merged

1040 add acu db alarm #42

merged 1 commit into from
Dec 20, 2023

Conversation

leite08
Copy link
Member

@leite08 leite08 commented Dec 18, 2023

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

  • make sure alarms are updated accordingly in staging

Release Plan

  • nothing special

@leite08 leite08 changed the base branch from master to develop December 18, 2023 18:34
@leite08 leite08 marked this pull request as ready for review December 18, 2023 18:35
Copy link

@RamilGaripov RamilGaripov left a 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?

Comment on lines -336 to -349
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);
Copy link
Member Author

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.

@leite08
Copy link
Member Author

leite08 commented Dec 18, 2023

did we mean to remove the FreeLocalStorageAlarm?

@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.

@leite08 leite08 merged commit baa0243 into develop Dec 20, 2023
1 check passed
@leite08 leite08 deleted the 1040-add-acu-db-alarm branch December 20, 2023 15:13
@leite08 leite08 mentioned this pull request Dec 20, 2023
1 task
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.

3 participants