The Inspector PHP package sends performance metrics and errors to your Inspector account. It has a simple API which allows you to instrument any application or PHP script.
The package can be used to wrap your application execution cycles to measure their duration and metadata (like the DB statements), as well as HTTP related information (like the URL, parameters, headers, etc).
These events, called Transactions and Segments, are sent to our ingestion API. Our data ingestion system converts and store them to provides you insight into latency issues and error culprits within your application.