@@ -48,6 +48,14 @@ Parameters:
48
48
AllowedValues: [true, false]
49
49
Description: If alerts should be silenced on this instance
50
50
Default: false
51
+ HighConcurrentExecutionsTopic:
52
+ Type: String
53
+ Description: The name of the SNS topic to publish to for a high concurrent executions alarm.
54
+ Default: CDO-Urgent
55
+ HighConcurrentExecutionsAlarmThreshold:
56
+ Type: Number
57
+ Description: The threshold for the high concurrent executions alarm.
58
+ Default: 400
51
59
<%
52
60
JAVALAB_APP_TYPES = %w(
53
61
Theater
@@ -857,18 +865,19 @@ Resources:
857
865
Properties:
858
866
AlarmName: !Sub "${SubdomainName}_<%= name . downcase%> _high_concurrent_executions"
859
867
AlarmDescription: !Sub |
860
- Alarm if javabuilder usage exceeds 400 concurrent
861
- executions for 10 minutes. Occasional spikes are expected, but
862
- long-running high usage is an indication of an attack. Page the student learning
863
- team for further investigation. See this doc for investigation steps
868
+ Alarm if javabuilder usage has high concurrent executions for 10 minutes.
869
+ Occasional spikes are expected, but long-running high usage is an indication
870
+ of an attack. If this is occuring on the demo environment, this is a non-urgent
871
+ issue as we expect occasional periods of high usage. If it is on production,
872
+ page the student learning team for further investigation. See this doc for investigation steps
864
873
https://docs.google.com/document/d/1bHvV6pvUcwxgZpw0YWBmxFggQL5KqYx9zwolwkZhjU8/edit#bookmark=id.xs1gcuxrw6ze
865
874
ActionsEnabled: true
866
875
AlarmActions:
867
- - !If [SilenceAlertsCondition, !Ref AWS::NoValue, !Sub "arn:aws:sns:${AWS::Region}:${AWS::AccountId}:CDO-Urgent "]
876
+ - !If [SilenceAlertsCondition, !Ref AWS::NoValue, !Sub "arn:aws:sns:${AWS::Region}:${AWS::AccountId}:${HighConcurrentExecutionsTopic} "]
868
877
EvaluationPeriods: 10
869
878
DatapointsToAlarm: 10
870
879
Period: 60
871
- Threshold: 400
880
+ Threshold: !Ref HighConcurrentExecutionsAlarmThreshold
872
881
ComparisonOperator: GreaterThanThreshold
873
882
TreatMissingData: notBreaching
874
883
MetricName: ConcurrentExecutions
0 commit comments