@@ -645,25 +645,26 @@ Resources:
645
645
HighUsageCompositeAlarm:
646
646
Type: AWS::CloudWatch::CompositeAlarm
647
647
DependsOn:
648
+ - ConsoleHighInvocationsAlarm
648
649
- HighHttpRequestsAlarm
649
- - HighWebsocketConnectionsAlarm
650
- - NeighborhoodHighInvocationsAlarm
651
- - TheaterHighInvocationsAlarm
650
+ - HighWebsocketConnectionsAlarm
651
+ - NeighborhoodHighInvocationsAlarm
652
+ - TheaterHighInvocationsAlarm
652
653
Properties:
653
654
ActionsEnabled: true
654
655
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
658
659
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.
661
662
AlarmName: !Sub "${SubDomainName}_high_usage_composite"
662
663
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)"
667
668
InsufficientDataActions: []
668
669
OKActions: []
669
670
0 commit comments