Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ALB latency alerts #917

Merged
merged 1 commit into from
Nov 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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