Code-level visibility for PHP

Code-level visibility gives you insights into where your PHP code spends the most time and uses the most CPU.

To access the PHP code-level view:

  1. Click the Services tile on your dashboard.

  2. Select a PHP service.

  3. Select a PHP request. dynamic requests

  4. Click the View response time hotspots button. If you use FPM, select the FPM service and click the View response time hotspots button to view the entire service or any individual request. response time

  5. Under Average response time, click Self time to view the breakdown of your request's code-level timings.

  6. To view method-level hotspots in your PHP code, click the newly added PHP execution link. php execution

  7. If you wish to know why your service consumes a lot of CPU, and not the response time, click CPU consumption. view method hotspots