Monitoring PHP app inside docker container

Hi, I have to monitor a PHP application that lives inside a docker container, and I have a couple of begginers doubts.

  • Can I monitor the application with the agent installed outside the docker container?

  • the host server of the application (where the PHP agent has to be installed) has the firewalld active, what port should I open for the agent can communicate with the APM server?

  • this comunication, between the agent and APM server is bi-directional? or the agent just send data and doesn't receives data.



  • The agent must run within the container. PHP will need to apply the C extention to be able to hook into functionalities/method being used.

  • Do you block outgoing requests, or only incoming requests? If you are using Elastic Cloud you can click on the Copy Endpoint of the deployments page. The port is listed within the url. It is depending on the regio and provider. Most APM has leveraging port 443 the default SSL port.

  • APM server has only incoming requests. Not Bi-directional.


This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.