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?
Answer by Sebastian K. ·
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.
Answer by David N. ·
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.
WordPress default database 1 Answer