Skip to content

Commit 414a796

Browse files
committed
change alarm metric for DLQ
1 parent da42064 commit 414a796

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cloudformation/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,11 @@ Resources:
558558
AlarmDescription: "Items are present in the application DLQ, meaning some messages failed to process."
559559
Namespace: "AWS/SQS"
560560
MetricName: "ApproximateNumberOfMessagesVisible"
561-
Statistic: "Sum"
562-
Period: "60"
563-
EvaluationPeriods: "1"
561+
Statistic: "Maximum"
562+
Period: 60
563+
EvaluationPeriods: 1
564564
ComparisonOperator: "GreaterThanThreshold"
565-
Threshold: "0"
565+
Threshold: 0
566566
AlarmActions:
567567
- !Ref AlertSNSArn
568568

0 commit comments

Comments
 (0)