Skip to content

Commit

Permalink
fix[infra]: adding to alarms in scheduled tasks (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina authored Mar 15, 2024
1 parent 3ddd44c commit 6f53e8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/lib/scorer/scheduledTasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export function createScheduledTask(

new aws.cloudwatch.MetricAlarm("UnsuccessfulRuns-" + name, {
alarmActions: [alertTopic.arn],
okActions: [alertTopic.arn],
comparisonOperator: "GreaterThanOrEqualToThreshold",
datapointsToAlarm: 1,
evaluationPeriods: 1,
Expand Down

0 comments on commit 6f53e8a

Please sign in to comment.