0

What is the best way to get error rate (errors as a proportion of responses) monitoring for an nginx app on an EC2 server in AWS?

I'd like an alarm if the percentage of 500 responses goes above a certain threshold, say 10%.

I have tried adding a Cloudwatch Log Metric, but that can only measure the number of 500 responses or the number of responses. I can't seem to get it to measure the percentage of responses which are errors.

Rich
  • 626
  • 11
  • 28
  • What kind of application is nginx serving/proxying? Have you looked into new relic? – jordanm Feb 23 '17 at 19:24
  • I've seen php script parsing logs and counting errors. So all is need to get percents is calculate amount of successful requests. – Putnik Feb 23 '17 at 22:22

0 Answers0