@@ -645,25 +645,26 @@ Resources:
645645 HighUsageCompositeAlarm:
646646 Type: AWS::CloudWatch::CompositeAlarm
647647 DependsOn:
648+ - ConsoleHighInvocationsAlarm
648649 - HighHttpRequestsAlarm
649- - HighWebsocketConnectionsAlarm
650- - NeighborhoodHighInvocationsAlarm
651- - TheaterHighInvocationsAlarm
650+ - HighWebsocketConnectionsAlarm
651+ - NeighborhoodHighInvocationsAlarm
652+ - TheaterHighInvocationsAlarm
652653 Properties:
653654 ActionsEnabled: true
654655 AlarmActions:
655- # TODO: after we have run at high usage for a while, consider re-enabling this alarm. Right now it is too noisy
656- # - !If [SilenceAlertsCondition, !Ref AWS::NoValue, !Sub "arn:aws:sns:${AWS::Region}:${AWS::AccountId}:javabuilder-high-usage"]
657- - !Ref AWS::NoValue
656+ # TODO: after we have run at high usage for a while, consider re-enabling this alarm. Right now it is too noisy
657+ # - !If [SilenceAlertsCondition, !Ref AWS::NoValue, !Sub "arn:aws:sns:${AWS::Region}:${AWS::AccountId}:javabuilder-high-usage"]
658+ - !Ref AWS::NoValue
658659 AlarmDescription: Send message if abnormally high Javabuilder usage detected.
659- Monitors usage across the HTTP API, WebSocket API, and all Build and Run
660- Lambdas.
660+ Monitors usage across the HTTP API, WebSocket API, and all Build and Run
661+ Lambdas.
661662 AlarmName: !Sub "${SubDomainName}_high_usage_composite"
662663 AlarmRule: !Sub "ALARM(${SubDomainName}_console_high_invocations) OR
663- ALARM(${SubDomainName}_high_http_requests) OR
664- ALARM(${SubDomainName}_high_websocket_connections) OR
665- ALARM(${SubDomainName}_neighborhood_high_invocations) OR
666- ALARM(${SubDomainName}_theater_high_invocations)"
664+ ALARM(${SubDomainName}_high_http_requests) OR
665+ ALARM(${SubDomainName}_high_websocket_connections) OR
666+ ALARM(${SubDomainName}_neighborhood_high_invocations) OR
667+ ALARM(${SubDomainName}_theater_high_invocations)"
667668 InsufficientDataActions: []
668669 OKActions: []
669670
0 commit comments