I want to create a daemon to track PHP performance monitoring on a web server.
So I would like to somehow capture every execution of PHP files on the server and note how much time was needed for the execution and the parameters that were sent.
I have no idea where to start or what to use.
For example, the user opens the following page in the browser: http://example.com/dashboard
I want to draw the following information:
Transaction, Server time: /dashboard, 700ms
As a New Relic provides the ability to monitor PHP activity.