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. In the Ключ-Астром menu, go to Services.
  2. optional Filter the table by Technology: PHP.
  3. Select a PHP service. Example: PHP request
  4. Select View dynamic requests and then select a PHP request.
  5. Select View response time hotspots. If you use FPM, select the FPM service and then select View response time hotspots to view the entire service or any individual request. Example: response time
  6. To view a breakdown of your request's code-level timings, select Analyze outliers or refer to the Response time tab.
  7. To view method-level hotspots in your PHP code, on the Reponse time analysis page, select PHP execution. Example: PHP execution
  8. To examine CPU consumption of code at the method level, select the CPU tab and then select View method hotspots, where you can display charts for Execution time and Top APIs. You can also check Call hierarchy and Hotspots for the overall contribution of every file/method called. Example: view method hotspots