3 ms·
How exactly can you tell exact controllers/actions in the code? Do we need to include some custom code in our PHP (in this case) code for that to work? We use N
by manuelflara 15y ago
How exactly can you tell exact controllers/actions in the code? Do we need to include some custom code in our PHP (in this case) code for that to work? We use NewRelic right now, and all that the "code performance" part of it shows is index.php, which is the dispatcher of our framework. Obviously, not very helpful.
P.S. I posted a related question on Quora recently, maybe you'd like to weight in: http://www.quora.com/How-is-Tracelytics-better-than-New-Relic http://www.quora.com/How-is-Tracelytics-better-than-New-Reli...
- trjordan 15y agoIn the frameworks we instrument, we grab that information for you at the appropriate point. In the case of vanilla PHP, the concept of controller and action is less well-defined, so we provide a function that you can use to log controller/action information you have in whatever routing class/function/layer you have.