I have a tomcat application deployed on ec2 and behind an application load balancer. The load balancer also has an alarm set for target response time which looks like this(screenshot), target response time threshold
Now the metric says response time cannot be greater than 1ms. But when I look at the chart there are multiple instances of the target response times going over 2000ms for continuous 5 minutes as shown in pic, response time chart
And yet, the alarm only goes off sometimes and not all the time.
- Why is the alarm not going off almost all the time?
- Can someone better explain target response time than the explanation given at https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html
- Is 1ms a realistic target response time to measure if I see sometimes the values going to 5000ms?
- I see the message in pic 1 "Value will be converted to match cloudwatch metric units". And yet in cloudwatch, the alarm generated is of unhealthy host with no mapping to the 1ms value