Cloud watch application insight supports PHP application monitoring


We want to monitor PHP application (http metrics, API routes are called, duration, errors, etc) is there any AWS service that provides those metrics ? Does Cloud watch application insight supports php application and provide those metrics ?

asked 7 months ago416 views
2 Answers


As far as I can see from the document below, I don't think PHP is mentioned.

Is it possible to access your PHP application from a public network?
In that case, I think it would be a good idea to use CloudWatch Synthetics to set up external monitoring.

profile picture
answered 7 months ago

I assume this is a PHP web application on EC2 Linux instance.

You can install CloudWatch agent and use it to collect Linux metrics and logs (e.g. php error log and web server logs which contains information such as URLs requested, duration of each request, http status code etc..).

If you need to collect custom PHP application metrics, you can install AWS SDK for PHP and modify your PHP code to publish custom metrics to CloudWatch.

answered 7 months 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