Skip to content

Commit

Permalink
Remove ALB latency alerts (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Nov 16, 2021
1 parent 8688f6d commit 8478e74
Showing 1 changed file with 34 additions and 30 deletions.
64 changes: 34 additions & 30 deletions github-for-jira.sd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,21 +308,23 @@ environmentOverrides:
alarms:
overrides:
HighSeverityAlarmWhenTooManyBackend5xxErrors: null
ElbResponseTimeAlert:
Namespace: AWS/ApplicationELB
MetricName: TargetResponseTime
Description: "Response latency is too high. Runbook: https://hello.atlassian.net/wiki/spaces/PF/pages/1283532004/HOWTO+Investigate+High+CPU+Memory+or+Latency+Alarms"
Dimensions:
- Name: LoadBalancer
Value: { "Fn::GetAtt": ["EnvironmentStack", "LoadBalancerName"] }
- Name: TargetGroup
Value: { "Fn::GetAtt": [ "ALBTargetGroup", "TargetGroupFullName" ] }
Threshold: 5
Priority: Low
EvaluationPeriods: 5
Period: 180
ComparisonOperator: GreaterThanThreshold
Statistic: Average
LatencyHigh: null
#TODO Uncomment when we stop doing hourly deployments
# ElbResponseTimeAlert:
# Namespace: AWS/ApplicationELB
# MetricName: TargetResponseTime
# Description: "Response latency is too high. Runbook: https://hello.atlassian.net/wiki/spaces/PF/pages/1283532004/HOWTO+Investigate+High+CPU+Memory+or+Latency+Alarms"
# Dimensions:
# - Name: LoadBalancer
# Value: { "Fn::GetAtt": ["EnvironmentStack", "LoadBalancerName"] }
# - Name: TargetGroup
# Value: { "Fn::GetAtt": [ "ALBTargetGroup", "TargetGroupFullName" ] }
# Threshold: 5
# Priority: Low
# EvaluationPeriods: 5
# Period: 180
# ComparisonOperator: GreaterThanThreshold
# Statistic: Average
workers:
- name: Worker
scaling:
Expand Down Expand Up @@ -377,21 +379,23 @@ environmentOverrides:
metrics: *CpuMemScalingRules
alarms:
overrides:
ElbResponseTimeAlert:
Namespace: AWS/ApplicationELB
MetricName: TargetResponseTime
Description: "Response latency is too high. Runbook: https://hello.atlassian.net/wiki/spaces/PF/pages/1283532004/HOWTO+Investigate+High+CPU+Memory+or+Latency+Alarms"
Dimensions:
- Name: LoadBalancer
Value: { "Fn::GetAtt": ["EnvironmentStack", "LoadBalancerName"] }
- Name: TargetGroup
Value: { "Fn::GetAtt": [ "ALBTargetGroup", "TargetGroupFullName" ] }
Threshold: 5
Priority: Low
EvaluationPeriods: 5
Period: 180
ComparisonOperator: GreaterThanThreshold
Statistic: Average
LatencyHigh: null
#TODO Uncomment when we stop doing hourly deployments
# ElbResponseTimeAlert:
# Namespace: AWS/ApplicationELB
# MetricName: TargetResponseTime
# Description: "Response latency is too high. Runbook: https://hello.atlassian.net/wiki/spaces/PF/pages/1283532004/HOWTO+Investigate+High+CPU+Memory+or+Latency+Alarms"
# Dimensions:
# - Name: LoadBalancer
# Value: { "Fn::GetAtt": ["EnvironmentStack", "LoadBalancerName"] }
# - Name: TargetGroup
# Value: { "Fn::GetAtt": [ "ALBTargetGroup", "TargetGroupFullName" ] }
# Threshold: 5
# Priority: Low
# EvaluationPeriods: 5
# Period: 180
# ComparisonOperator: GreaterThanThreshold
# Statistic: Average
HighSeverityAlarmWhenTooManyBackend5xxErrors:
MetricName: HTTPCode_Target_5XX_Count
Namespace: AWS/ApplicationELB
Expand Down

0 comments on commit 8478e74

Please sign in to comment.