Skip to content

Commit

Permalink
Only treat as missing in primary region
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Sep 13, 2024
1 parent 61be508 commit d26c67a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions spire/templates/apps/cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ Resources:
- { Key: prx:ops:cloudwatch-log-group-name, Value: !Ref WorkerTaskLogGroup }
- { Key: prx:dev:application, Value: CMS }
Threshold: 60
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
AudioCallbackQueueVerySlowAlarm:
Type: AWS::CloudWatch::Alarm
Condition: IsProduction
Expand Down Expand Up @@ -667,7 +667,7 @@ Resources:
- { Key: prx:ops:cloudwatch-log-group-name, Value: !Ref WorkerTaskLogGroup }
- { Key: prx:dev:application, Value: CMS }
Threshold: 300
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
AudioCallbackDeadletterQueue:
Type: AWS::SQS::Queue
DeletionPolicy: Delete
Expand Down Expand Up @@ -765,7 +765,7 @@ Resources:
- { Key: prx:ops:cloudwatch-log-group-name, Value: !Ref WorkerTaskLogGroup }
- { Key: prx:dev:application, Value: CMS }
Threshold: 60
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
ImageCallbackQueueVerySlowAlarm:
Type: AWS::CloudWatch::Alarm
Condition: IsProduction
Expand Down Expand Up @@ -794,7 +794,7 @@ Resources:
- { Key: prx:ops:cloudwatch-log-group-name, Value: !Ref WorkerTaskLogGroup }
- { Key: prx:dev:application, Value: CMS }
Threshold: 300
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
ImageCallbackDeadletterQueue:
Type: AWS::SQS::Queue
DeletionPolicy: Delete
Expand Down
6 changes: 3 additions & 3 deletions spire/templates/apps/feeder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Resources:
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Feeder }
Threshold: 900 # 15 minutes; ApproximateAgeOfOldestMessage is reported in seconds
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
DefaultJobDeadletterQueue:
Type: AWS::SQS::Queue
DeletionPolicy: Delete
Expand Down Expand Up @@ -330,7 +330,7 @@ Resources:
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Feeder }
Threshold: 3960 # 66 minutes; ApproximateAgeOfOldestMessage is reported in seconds
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
PublishingJobDeadletterQueue:
Type: AWS::SQS::Queue
DeletionPolicy: Delete
Expand Down Expand Up @@ -434,7 +434,7 @@ Resources:
- { Key: prx:dev:family, Value: Dovetail }
- { Key: prx:dev:application, Value: Feeder }
Threshold: 900 # 15 minutes; ApproximateAgeOfOldestMessage is reported in seconds
TreatMissingData: missing
TreatMissingData: !If [IsPrimaryRegion, missing, notBreaching]
FixerCallbackDeadletterQueue:
Type: AWS::SQS::Queue
DeletionPolicy: Delete
Expand Down

0 comments on commit d26c67a

Please sign in to comment.