Cloud watch application insight supports PHP application monitoring

0

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 ?

Hemanth
질문됨 7달 전413회 조회
2개 답변
0

Hello.

As far as I can see from the document below, I don't think PHP is mentioned.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/appinsights-what-is.html#appinsights-stack

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.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html

profile picture
전문가
답변함 7달 전
0

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.

AWS
전문가
Mike_L
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠