Custom service detection allows you to define your own service-detection rules on top of the default set of detection rules, enabling you to:
- Adding granularity when one process provides a number of different services that should be tracked as individual services
- Extending service detection to include batch jobs
- OneAgent version 1.133 or later
Define custom service detection
Go to Settings > Server-side service monitoring > Custom service detection.
Select the PHP services tab.
Example: PHP services tab
Click Define PHP services and then click Define entry point manually.
Define the entry point:
- Name the service
- File name
- optional Fully qualified class name
Example: define a custom PHP service
Save your changes.
Each time the specified method is called within a request, the request will be associated with this defined service.
This newly defined service will be displayed in: