File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ resource "aws_cloudwatch_metric_alarm" "alb_latency" {
113113 # alarm_name = "${data.aws_iam_account_alias.current.account_alias}-ecs-${var.name}-alb-latency"
114114 alarm_name = " ${ data . aws_iam_account_alias . current . account_alias } -ecs-${ var . name } -latency"
115115 comparison_operator = " GreaterThanUpperThreshold"
116- evaluation_periods = " 4 "
116+ evaluation_periods = " 2 "
117117 datapoints_to_alarm = " 2"
118118 threshold_metric_id = " ad1"
119119 alarm_description = " Load balancer latency for application"
@@ -134,8 +134,8 @@ resource "aws_cloudwatch_metric_alarm" "alb_latency" {
134134 metric {
135135 metric_name = " TargetResponseTime"
136136 namespace = " AWS/ApplicationELB"
137- period = " 300 "
138- stat = " p99 "
137+ period = " 900 "
138+ stat = " p90 "
139139
140140 dimensions = {
141141 LoadBalancer = aws_lb.ecs[0 ].arn_suffix
You can’t perform that action at this time.
0 commit comments