better metrics for error 5XX count in ALB for Cloudwatch


We are trying to identify the better math metric logic for the alarm threshold where we build threshold on the request count that is if we receive 100 requests and 10 percent of these return http error code 5XX errors trigger an alarm. Than it must create cloud watch alarm.

1 Answer

Hi, wouldn't you simply graph/declare HTTPCode_Target_5XX_Count as your m1 metric and RequestCount as your m2 metric, then alarm on the metric math of m1/m2 * 100?

profile pictureAWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions