Skip to content

Commit

Permalink
Use maximum, and have missing data breach the alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
wildjames committed Oct 2, 2024
1 parent 93a4d1c commit d9eb838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SAMtemplates/alarms/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ Resources:
AlarmDescription: "Monitors the concurrency of the PfP as a whole and triggers when concurrency exceeds the threshold."
Namespace: "AWS/Lambda"
MetricName: "ConcurrentExecutions"
Statistic: Sum
Statistic: Maximum
Period: 60 # seconds
EvaluationPeriods: 1
Threshold: !Ref ConcurrencyThreshold
ComparisonOperator: GreaterThanOrEqualToThreshold
TreatMissingData: notBreaching
TreatMissingData: breaching
ActionsEnabled: !Ref EnableAlerts
AlarmActions:
- !ImportValue lambda-resources:SlackAlertsSnsTopicArn
Expand Down

0 comments on commit d9eb838

Please sign in to comment.