Code-level visibility for PHP now available

Starting with Agent v1.85, Dynatrace offers code-level visibility for its PHP deep-monitoring support. Code-level visibility gives you insights into where your PHP code spends the most time and uses the most CPU.

To access PHP code-level view:

  1. Click the Services tile on your Dynatrace homepage.
  2. Select an Apache or PHP service.
  3. Select a PHP request.
  4. Click the View response time hotspots button.
    If you use FPM, select your FPM service and click the View response time hotspots button to view the entire service or any individual request.
    PHP code-level visibilityPHP code-level visibility

In the Average response time infographic, click Self time to view the breakdown of your request’s code-level timings. Notice that PHP execution is now a clickable link you can use to view method-level hotspots in your PHP code.

PHP code-level visibility

PHP code-level visibility

If you’re only interested in why your service consumes a lot of CPU, and not in the response time, you can analyze CPU consumption directly.

PHP code-level visibility

PHP code-level visibility

Those who know me know that I'm passionate about 3 things: rock climbing, physics, and performance. I've worked in performance monitoring and optimizations in enterprise environments for the better part of the last 10 years. Now as a Product Manager I am doing my best to build those experiences into Dynatrace.