Skip to content

Commit

Permalink
update alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Feb 1, 2025
1 parent e93d7ff commit 19fce09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudformation/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,12 @@ Resources:
Condition: IsProd
Properties:
AlarmName: !Sub ${ApplicationPrefix}-gateway-latency-high
AlarmDescription: 'Average API gateway latency is > 1.25s for 2 minutes.'
AlarmDescription: 'Trailing Mean - 95% API gateway latency is > 1.25s for 2 times in 4 minutes.'
Namespace: 'AWS/ApiGateway'
MetricName: 'Latency'
Statistic: 'Average'
ExtendedStatistic: 'tm95'
Period: '120'
EvaluationPeriods: '1'
EvaluationPeriods: '2'
ComparisonOperator: 'GreaterThanThreshold'
Threshold: '1250'
AlarmActions:
Expand Down

0 comments on commit 19fce09

Please sign in to comment.