Code-level visibility for PHP
Материал из Документация Ключ-АСТРОМ
Версия от 15:50, 15 марта 2022; Lobanov (обсуждение | вклад)
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
- In the Ключ-Астром menu, go to Services.
- optional Filter the table by
Technology: PHP
. - Select a PHP service. Example: PHP request
- Select View dynamic requests and then select a PHP request.
- 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
- To view a breakdown of your request's code-level timings, select Analyze outliers or refer to the Response time tab.
- To view method-level hotspots in your PHP code, on the Reponse time analysis page, select PHP execution. Example: PHP execution
- 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