Showing results for 
Show  only  | Search instead for 
Did you mean: 

Limited options to configure services and track code with Laravel PHP Application

DynaMight Guru
DynaMight Guru


I have questions about PHP monitoring with Dynatrace. Everything is working fine except one thing. I thing it's because of how framework is working. I actually don't see executions of methods from Controller. There is index.php execution and after that PDO statements or remote calls. It's not the problem because performance monitoring is working fine. The problem is if I'm trying to define custom services. Because the file with controller is not directly called, such rules doesn't actually work. Is it any workaround for this?




Regards, Sebastian


Hello Sebastian,

I don't think there is a way around this for you. As you probably noticed in the Dynatrace documentation currently for PHP you can only specify entry points manually. In order to do this, you need to reference the file that contains the methods that you want to instrument.


David Nicholls

DynaMight Guru
DynaMight Guru

Actually there is no problem with picking entry points. There also is search option like in java and .Net available. The problem is that methods from controller that are responsible for loading data and view/api endpoint are not called. (According to what I see in Purepaths). It looks like code from those methods is load in index.php file by framework and I see incomplete stack trace. In this case Dynatrace mechanism doesn’t work for defining entry points. Because methods which are properly defined are not executed in a way Dynatrace is looking for.

Regards, Sebastian


Has this ever been fixed? I am also using Laravel and am trying Dynatrace out.

I defined custom services for my methods, and broswed to URL calling these methods, but doesn't see anything related to them in the PurePath.

If this is not possible to see, then you shouldn't say that Laravel is supported on Dynatrace.

Featured Posts