Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ exports[`The AB testing notification lambda stack > matches the CODE snapshot 1`
}
],
"AlarmDescription": "Something went wrong notifying test owners of upcoming AB test expiries in ab-testing-notification-lambda-CODE. Please check the logs",
"AlarmName": "AB Testing Notification Failures",
"AlarmName": "ab-testing-notification-lambda-CODE-alarm",
"ComparisonOperator": "GreaterThanThreshold",
"DatapointsToAlarm": 1,
"EvaluationPeriods": 1,
Expand Down Expand Up @@ -941,7 +941,7 @@ exports[`The AB testing notification lambda stack > matches the PROD snapshot 1`
}
],
"AlarmDescription": "Something went wrong notifying test owners of upcoming AB test expiries in ab-testing-notification-lambda-PROD. Please check the logs",
"AlarmName": "AB Testing Notification Failures",
"AlarmName": "ab-testing-notification-lambda-PROD-alarm",
"ComparisonOperator": "GreaterThanThreshold",
"DatapointsToAlarm": 1,
"EvaluationPeriods": 1,
Expand Down
2 changes: 1 addition & 1 deletion ab-testing/cdk/lib/notificationLambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class AbTestingNotificationLambda extends GuStack {
monitoringConfiguration: {
snsTopicName: snsTopic.topicName,
toleratedErrorPercentage: 0,
alarmName: "AB Testing Notification Failures",
alarmName: `${appName}-${props.stage}-alarm`,
alarmDescription: `Something went wrong notifying test owners of upcoming AB test expiries in ${appName}-${props.stage}. Please check the logs`,
lengthOfEvaluationPeriod: Duration.minutes(1),
numberOfEvaluationPeriodsAboveThresholdBeforeAlarm: 1,
Expand Down
Loading